Deleting Permissions on Columns

There are two methods that you can use to remove permissions that have been granted on columns.

maprcli command

The command to delete the permissions on a column is:
maprcli table cf colperm delete -path <path> -cfname <name_of_column_family> 
-name <name_of_column>

The format of the value of the -path parameter depends on whether you are creating a table on a local cluster or a remote cluster:

  • For a path on the local cluster, start the path at the volume mount point. For example, for a table named test under a volume with a mount point at /volume1, specify the following path: /volume1/test
  • For a path on a remote cluster, you must also specify the cluster name in the path. For example, for a table named customer under volume1 in the sanfrancisco cluster, specify the following path:/mapr/sanfrancisco/volume1/customer

MCS

  1. Open the table from which you want to delete the column family.
  2. Click the Column Families tab.

    Figure: Where to find the Column Families tab

  3. Select the column family and click the Edit Column Family button.
  4. In the Column Permissions section, select the column. To delete a permission, click the down arrow next to the permission and click the circle.

    The Column Permissions section of the Edit Column Family window