Creating a Ranger policy for Cloudera Data Visualization
Create a Ranger resource policy to grant users, groups, or roles access to Cloudera Data Visualization resources.
Cloudera Data Visualization includes default Ranger policies for sample content. You can create additional policies from the Resource Policies page for the dataviz service in Ranger.
-
Verify that Ranger authorization is enabled for your Cloudera Data Visualization instance and that you can create policies for the dataviz service in Ranger.
-
Identify the users, groups, or roles that need access, the permissions they need, and the numeric IDs of the resources you want to include. For a dataset, identify both the dataset ID and the ID of its parent data connection.
| Policy | Resource fields and values |
|---|---|
| A single dataset | Enter the parent connection ID in Data Connection and the dataset ID in Dataset. |
| All datasets | Enter * in both Data Connection and Dataset. |
| All data connections | Enter * in Data Connection. |
| All collections | Enter * in Collection. |
| System operations | Select System. |
