Describes how to grant access to objects, using access control expressions in a security policy.
You can define access controls in a security policy using the Control System, CLI, and REST API.
/opt/mapr/bin/maprcli security policy create -<ACEparam> <ACEsyntax>
Use the following command to specify Access Control Expression (ACE)s when modifying a
security policy:
/opt/mapr/bin/maprcli security policy modify -<ACEparam> <ACEsyntax>curl -k -X POST ''https://<hostname>:8443/rest/security/policy/create?name=<policyName>&<ACEparam>=<ACEsyntax>' --user <username>:<pwd>curl -k -X POST 'https://<hostname>:8443/rest/security/policy/modify?name=<policyName>&<ACEparam>=<ACEsyntax>' --user <username>:<pwd>readdirace to read the contents of a directory.
See Read for Directories in the Defining Access
Controls in Security Policy Using the Control System
section for more information.lookupdirace to lookup or list the contents in
a directory. See Lookup for Directories in the
Defining Access Controls in Security Policy Using the
Control System section for more information.addchildace to add a file or subdirectory. See
Add for Directories in the Defining Access
Controls in Security Policy Using the Control System
section for more information.deletechildace to delete a file or
subdirectory. See Delete for Directories in the
Defining Access Controls in Security Policy Using the
Control System section for more information.readfileace to read a file. See Read for
Files in the Defining Access Controls in Security Policy
Using the Control System section for more
information.writefileace to write to a file. See
Write for Files in the Defining Access Controls in
Security Policy Using the Control System section for
more information.executefileace to execute a file. See
Execute for Files in the Defining Access Controls
in Security Policy Using the Control System section for
more information.readdbace to read new column families that are
created in the table.traversedbace to descend a hierarchy of column
families.writedbace to write to new column families that
are created in the table.