Granting Permissions on JSON Tables

The following table summarizes the default access-control expressions for the supported ways of setting the read, traverse, and write permissions.

The default permissions for column families are determined when tables are created. The default permissions for fields are inherited from the column family where the fields are located.

Action Method Permissions Default Access-Control Expressions
Set default permissions on new column families when creating a JSON table. Java API
-defaultreadperm
-defaulttraverseperm
-defaultwriteperm
u:<ID of the process>
maprcli table create u:<user ID of table creator>
mapr dbshell
MCS
Set default permissions on new column families when editing a JSON table. maprcli table edit Current ACEs
MCS
Set permissions on a column family when creating the column family. maprcli table cf create
-readperm
-traverseperm
-writeperm
ACEs for –defaultreadperm, -defaulttraverseperm, and -defaultwriteperm
MCS
Set permissions on a column family when editing the column family. maprcli table cf edit Current ACEs
MCS
Set permissions on individual fields. maprcli table cf colperm set Inherited from column family or parent field
MCS