Previous Topic: user set (User Management)--Modify a User's ProfileNext Topic: user modify_newobj_acl (User Management) Modify New Object ACL for a User


user put_newobj_acl (User Management) Replace New Object ACL Definition for a User

Replace the entire new object ACL definition associated to a user.

Syntax:
user put_newobj_acl <name> [ <principal>=owner ] [ <principal1>=<val> ... <principalN>=<val> ] [ --test_only | --force ]
Parameters:
<name>

Name of the user; prepend the user name with / to indicate a global user.

<principal>=owner

Set the owner attribute of the new object ACL definition to the specified principal. The principal must be a group or the referenced user.

<principal>=<val>

Add the specified principal to the new object ACL definition with access level <val>. <principal> is in the following form:

<scope>:<type>:<name>

A fully qualified principal name where <scope> is 'global' or 'local', <type> is 'group' or 'user', and <name> is the group or user name.

Valid access levels are: read, control, configure, and full.

--test_only

Do not replace the new object ACL definition but rather test if the operation can succeed.

--force

Skip prompting the user for verification.

Example:
user put_newobj_acl user1 local:group:admin=owner local:group:admin=full

Put the new object ACL definition associated to the local user 'user1'.

Notes:

The owner of a new object ACL definition associated to a user must be that user or a group.