Previous Topic: catalog get_acl (Catalog Management)--Display Global Catalog ACLNext Topic: catalog modify_acl (Catalog Management)--Replace Portion of Global Catalog ACL


catalog put_acl (Catalog Management)--Replace Entire Global Catalog ACL

Replace the entire global catalog ACL.

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

Name of the global catalog.

<principal>=owner

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

<principal>=<val>

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

<name>

Local user or group.

/<name>

Global user or group.

<scope>:<type>:<name>

A fully qualified principal name where 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 catalog ACL but rather test if the operation can succeed.

--force

Skip prompting the user for verification.

Examples
catalog put_acl /mycat local:user:admin=owner local:user:admin=full

Replace the 'mycat' global catalog ACL such that the owner is the local user 'admin' and local user 'admin' has full access level permissions.

catalog put_acl /mycat admin=owner admin=full

Replace the 'mycat' global catalog ACL such that the owner is the local user 'admin' and local user 'admin' has full access level permissions.

Notes