acl edit
Modifies a specific user's access to a cluster or volume.
The acl edit
command grants one or more specific volume or
cluster permissions to a user. To use the acl edit
command, you must have
administrative (a) permissions on the
volume and cluster for which you are running the command.
The
permissions are specified as a comma-separated list of permission codes. See acl. You must specify either a user
or a
group
. When the type
is volume
, a volume name
must be specified using the name
parameter.
Syntax
- CLI
-
maprcli acl edit [ -cluster <cluster name> ] [ -group <group> ] [ -name <name> ] -type cluster|volume [ -user <user> ]
- REST
-
http[s]://<host:port>/rest/acl/edit?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to run the command. |
group |
Groups and allowed actions for each group. See acl. Format: |
name |
The object name. |
type |
The object type ( |
user |
Users and allowed actions for each user. See acl. Format: |
Examples
Give the user jsmith dump, restore, and delete permissions for "test-volume":- CLI
-
maprcli acl edit -type volume -name test-volume -user jsmith:dump,restore,d
- REST
-
https://10.10.82.22:8443/rest/acl/edit?type=volume&name=test-volume&user=jsmith%3Adump,restore,d