rhpctl grant role {–role role_name {-user user_name [-client cluster_name]
| -grantee role_name}}
| {[-client cluster_name] [-maproles role=user_name[+user_name...]
[,role=user_name[+user_name...]...]}Table F-14 rhpctl grant role Parameters
| Parameter | Description |
|---|---|
-role role_name |
Specify the name of the role that you want to grant clients or users. |
-user user_name -client cluster_name |
Specify the name of a user and, optionally, a client cluster to which you want to grant a role. The user name that you specify must be in the form of |
-grantee role_name |
Use this parameter to specify a role to which you want to grant another role. |
[-client client_name] -maproles role= user_name[+user_name...] |
You can map either built-in roles or roles that you have defined to specific users. Use a plus sign ( |