Update group name
This commit is contained in:
parent
14dd2c42f4
commit
3ef2de316a
1 changed files with 4 additions and 4 deletions
|
@ -794,10 +794,10 @@ $ kcadm.sh remove-roles -r demorealm --rname testrole --cclientid realm-manageme
|
|||
|
||||
Use a dedicated [command]`add-roles` command that can be used for adding realm roles and client roles.
|
||||
|
||||
The following example adds the roles defined on the client [command]`realm-management` - `create-client` role and the [command]`view-users` role to the [command]`Testgroup` group (via the [command]`--gname` option). The group can alternatively be specified by ID (via the [command]`--gid` option).
|
||||
The following example adds the roles defined on the client [command]`realm-management` - `create-client` role and the [command]`view-users` role to the [command]`Group` group (via the [command]`--gname` option). The group can alternatively be specified by ID (via the [command]`--gid` option).
|
||||
[options="nowrap"]
|
||||
----
|
||||
$ kcadm.sh add-roles -r demorealm --gname Testgroup --cclientid realm-management --rolename create-client --rolename view-users
|
||||
$ kcadm.sh add-roles -r demorealm --gname Group --cclientid realm-management --rolename create-client --rolename view-users
|
||||
----
|
||||
|
||||
[discrete]
|
||||
|
@ -805,10 +805,10 @@ $ kcadm.sh add-roles -r demorealm --gname Testgroup --cclientid realm-management
|
|||
|
||||
Use a dedicated [command]`remove-roles` command to remove client roles from a group.
|
||||
|
||||
Use the following example to remove two roles defined on the client [command]`realm management` - `create-client` role and the [command]`view-users` role from the [command]`Testgroup` group.
|
||||
Use the following example to remove two roles defined on the client [command]`realm management` - `create-client` role and the [command]`view-users` role from the [command]`Group` group.
|
||||
[options="nowrap"]
|
||||
----
|
||||
$ kcadm.sh remove-roles -r demorealm --gname Testgroup --cclientid realm-management --rolename create-client --rolename view-users
|
||||
$ kcadm.sh remove-roles -r demorealm --gname Group --cclientid realm-management --rolename create-client --rolename view-users
|
||||
----
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue