Creating a tag-based policy from classifications
Create a tag-based policy in Ranger to control access to catalog metadata based on the classifications assigned to assets in Cloudera Unified Data Fabric, such as denying a group access to every asset classified as PII.
- You are a Ranger administrator. For more information, see Accessing the Ranger Admin web UI.
- The classification exists in Cloudera Unified Data Fabric and is assigned to the assets that you want to protect.
When you assign a classification to an asset, such as a table or a column, in Cloudera Unified Data Fabric, Ranger TagSync imports it into Ranger as a tag
on that asset in the awc_udf service. A tag-based policy
in the udf_tag service then applies to every asset that has the
tag, so you do not need to list the assets in a resource-based policy. When you add
or remove the classification, the tag follows after a short delay.
Tag-based policies are evaluated before resource-based policies. A deny condition in a tag-based policy denies access even if a resource-based policy allows it.
After the services refresh their policies, the policy applies to every asset, such as a table or a column, that has the classification, including assets that are classified later.
