Adding a user to Ranger service policies
Learn how to add a logged-in user or resource owner, who is not already part of the required groups, to the relevant Ranger policies.
-
In Cloudera Manager, click Clusters > Ranger > Ranger Admin Web UI, enter your username and password, and then click Sign
In.
The Ranger Service Manager page for Cloudera services is displayed.
- From the Service Manager page, click the cm_trino service.
-
In the TRINO Policies page of the
cm_trinoservice, click edit against the following policies and include the logged-in user or resource owner in the Allow Conditions:- all – trinouser
- all – catalog, schema, table
- all – catalog, schema
- all – sysinfo
- all – catalog, schema, procedure
- all – catalog, schema, schemafunction
- all - function
- all - queryid
- all - role
- all – catalog, schema, table, column
- all – catalog
- all – catalog, sessionproperty
- all – systemproperty
- Click Save to apply the changes.
- Return to the Service Manager page and click the Hadoop SQL service to modify the default policies.
-
In the HIVE policies page of the Hadoop SQL service, edit
each of the following default Hive policies to include the logged-in user or
resource owner in the Allow Conditions:
- all - global
- all - database, table, column
- all - database, table
- all - storage-type, storage-url
- all - database
- all - hiveservice
- all - database, udf
- all - url
- Click Save to apply the changes.
- Return to the Service Manager page and click the cm_hdfs service to modify the default policies.
-
In the HDFS Policies page of the cm_hdfs service, edit the
following default policy to include the logged-in user or resource owner in the
Allow Conditions:
all - path
- Click Save to apply the changes.
