File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 29
29
"users" : [
30
30
" {USER}"
31
31
],
32
- "groups" : [],
32
+ "groups" : [ " role_test " ],
33
33
"conditions" : [],
34
34
"delegateAdmin" : false
35
35
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " role_test" ,
3
+ "description" : " " ,
4
+ "isVisible" : 1
5
+ }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ if [ "$start_timeout_exceeded" = "false" ]; then
21
21
# Setup ranger users/groups
22
22
printf " Creating user and group definition... \n"
23
23
curl -u admin:admin -d " @/tmp/resources/user-group/testgroup.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/groups
24
+ curl -u admin:admin -d " @/tmp/resources/user-group/testrole.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/groups
24
25
curl -u admin:admin -d " @/tmp/resources/user-group/testuser.json" -X POST -H " Accept: application/json" -H " Content-Type: application/json" http://localhost:6080/service/xusers/secure/users
25
26
printf " \nUser and group created\n"
26
27
You can’t perform that action at this time.
0 commit comments