table cf securitypolicy set
Replaces a security policy associated with a column family for a HPE Ezmeral Data Fabric Database JSON table with a new security policy.
Permissions Required
To run this command, your user ID must have the following permissions:
adminaccessperm
on the table.
NOTE
The mapr
user is not treated as a superuser.
HPE Ezmeral Data Fabric Database does not allow the mapr
user to
run this command unless that user is given the relevant permission or permissions with
access-control expressions.Syntax
CLI |
|
REST |
|
Parameters
Parameter |
Description |
---|---|
path |
The path to the HPE Ezmeral Data Fabric Database table.
|
cfname | The name of the column family for which security policies will be replaced. |
securitypolicy |
The security policy tags to be replaced in the list of security policies for the specified column family. |
Example
Replaces the security policy for the column family mycf
for a Data Fabric table named table1
with a new security
policy named newpolicy
:
CLI |
|
REST |
|