This section explains how to use the
qq auth_modify_role
command.For more information, see Managing Role-Based Access Control (RBAC) for Users and Groups in Qumulo Core in the Qumulo Administrator Guide.
Examples
To Add a Privilege to an Existing Custom Qumulo Core Role
Run the qq auth_modify_role
command and specify the custom role name and the privilege to add. For example:
qq auth_modify_role \
-r SMB-Manager \
-G PRIVILEGE_SMB_SHARE_READ \
Description
Modify a custom role.
Usage
qq auth_modify_role [-h] -r ROLE [-d DESCRIPTION] [-p PRIVILEGES_FILE] [-G PRIVILEGE [PRIVILEGE ...]] [-R PRIVILEGE [PRIVILEGE ...]]
Flags
Flag Name | Required | Description |
---|---|---|
-r
|
Yes | Name of the role to modify |
-d
|
No | New description of the role |
-p
|
No | Overwrite the role's privileges with output from auth_list_privileges, cannot be used with -G or -R |
-G
|
No | Privilege to add to this role (may be repeated) |
-R
|
No | Privilege to remove from this role (may be repeated) |