Displays the ACL associated with an object (cluster or a volume). An ACL contains the list of users who can perform specific actions.

Syntax

CLI

maprcli acl show
    [ -cluster <cluster> ]
    [ -group <group> ]
    [ -name <name> ]
    [ -output long|short|terse ]
    [ -perm ]
    -type cluster|volume
    [ -user <user> ]

REST

http[s]://<host:port>/rest/acl/show?<parameters>

Parameters



Parameter

Description

cluster

The name of the cluster on which to run the command

group

The group for which to display permissions

name

The cluster or volume name

output

The output format:

  • long
  • short
  • terse

perm

When this option is specified, acl show displays the permissions available for the object type specified in the type parameter.

type

Cluster or volume.

user

The user for which to display permissions

Output

The actions that each user or group is allowed to perform on the cluster or the specified volume. For information about each allowed action, see acl.

Principal   Allowed actions     
User root   [r, ss, cv, a, fc]  
Group root  [r, ss, cv, a, fc]  
All users   [r] 

Examples

Show the ACL for the cluster:

CLI

maprcli acl show -type cluster

REST

https://r1n1.sj.us:8443/rest/acl/show?type=cluster

 

Show the ACL for "test-volume":

CLI

maprcli acl show -type volume -name test-volume
REST
https://10.10.82.22:8443/rest/acl/show?type=volume&name=test-volume

Show the permissions that can be set on a cluster:

CLI

maprcli acl show -type cluster -perm