Permissions for MapR tables, column families, and columns are defined by Access Control Expressions (ACEs). You can set permissions for tables when you create or edit tables. You can set default permissions for column families when you create or edit tables, and you can override these defaults when you create column families.
For the syntax to use when creating Access Control Expressions, see Syntax of Access Control Expressions.
Defining ACEs with the MCS by using the Expression Builder
- To define an ACE for an existing table, click Edit Table Permissions from the table's pane in the MCS to display the Permissions pane.
- Click the arrow at the right side of any field to display the Expression Builder for that field.
- Use the + button to add a condition to the expression. Note that you cannot mix AND and OR without using subexpressions.
You can also type expressions directly into the field. The MCS validates expressions when focus leaves the field. The field is colored yellow for a warning and red for an error. Hover the cursor on the field to display the error or warning message.
Defining ACEs by using maprcli commands
You can set ACEs with the following commands: