Previous Topic: get_acl (Application Control and Management)--Display Application ACLNext Topic: modify_acl (Application Control and Management)--Replace Portion Application ACL


put_acl (Application Control and Management)--Replace Entire Application ACL

Replace the entire application ACL.

Syntax
application put_acl <name> <principal>=owner [ <principal1>=<val> ... <principalN>=<val> ] [ --test_only | --force ]
Parameters
<name>

Name of the application.

<principal>=owner

Set the owner attribute of the application ACL to the specified principal.

<principal>=<val>

Add the specified principal to the application ACL with access level <val>. <principal> is in the form <scope>:<type>:<name> where <scope> is local, <type> is user or group, and <name> is the user or group name. Valid access levels are: read, control, configure and full.

--test_only

Do not replace the application ACL but rather test if the operation can succeed.

--force

Skip prompting the user for verification.

Examples
application put_acl my-app local:user:admin=owner local:user:admin=full

Replace the 'my-app' application ACL such that the owner is the local user 'admin' and local user 'admin' has full access level permissions.

Notes