bc-cliacl list

List details of one or more ACLs.

Usage

acl list [self] [name]
acl list name commit

where
self list ACLs that apply to the user running this command. If not specified, all ACLs will be listed.
name of ACL to list. If not specified, ACLs for all names will be listed.
commit id of acl as listed by acl changes, or relative index.

read on name

Examples

List ACLs for user

BeyondCron % acl list self

Name User/Role Permissions -------- --------- ----------- / everyone read /calendar everyone read /server1 operator enable+

List all ACls

BeyondCron % acl list

Name User/Role Permissions -------- --------- ----------- / admin admin+ / everyone read /calendar admin admin+ /calendar everyone read /server1 creator write+ /server1 operator enable+

List a users effective ACLs for a job

BeyondCron % acl list self /server1/backup

Name User/Role Permissions -------- --------- ----------- /server1 operator enable+

List all ACLs for a job

BeyondCron % acl list /examples/sleepy

Name User/Role Permissions --------- --------- ----------- /examples admin admin+ /examples demo execute+ /examples everyone read

List details of an earlier version of an acl

BeyondCron % acl changes /examples

Time Commit Action User Host Client ------------------- ------- -- ------- ----- ----------- ------ 14:27:58 14/07/2017 02d6122 0 Created admin example.com bc-cli 11:14:52 14/07/2017 37e30e5 -1 Created admin example.com bc-cli 11:13:49 14/07/2017 05b9c44 -2 Created admin example.com bc-cli 11:13:16 14/07/2017 70513b9 -3 Created admin example.com bc-cli

BeyondCron % acl list /examples 05b9c44

Name User/Role Permissions --------- --------- ----------- /examples admin admin+ /examples jsmith execute+

List details of an earlier version of an acl using the relative commit index

Versions of an acl can also be referenced using their relative commit index, with 0 being the current version, -1 being the previous version, etc…

BeyondCron % acl list /examples -2

Name User/Role Permissions --------- --------- ----------- /examples admin admin+ /examples jsmith execute+

See also