Metadata authorization

Cloudera Unified Data Fabric checks every protected metadata operation against access policies in the policy service, so users can read and change only the catalog metadata that they are allowed to.

How metadata access is decided

Before Cloudera Unified Data Fabric runs a protected metadata operation, it sends an access request to Ranger, which evaluates it against the policies of the awc_udf service. The request includes:

  • The user name and the user's groups
  • The client IP address
  • The resource, such as an asset, a type, or a relationship
  • The access type, such as read, create, update, or delete

Cloudera Unified Data Fabric runs the operation only if a policy allows it. Policies are evaluated from a local cache that is refreshed periodically, so a policy change takes effect after a short delay. For the resources and access types that policies can use, see Ranger services and resources for Cloudera Unified Data Fabric.

Classification-based policies can also control access to metadata. A tag-based policy applies to every asset that has a classification. For more information, see Creating a tag-based policy from classifications.

What is checked

  • Search: text search and semantic search return only the assets that you are allowed to find. The restriction is applied in the search itself, so assets you are not allowed to find do not appear in the result list.
  • Similar assets: to find assets similar to a known asset, you also need read access to that asset. This check runs before the search for similar assets, and the results are then restricted in the same way as other search results.
  • Metadata changes: to push a metadata change notification, the caller needs permission on every asset in the notification. A batch that contains several assets requires permission on each of them.
  • Maui AI chat: metadata lookups run as the signed-in user. Answers include only catalog information that policies allow. If a policy check cannot be completed for an asset or a column, that item may be omitted and the answer marked as partial.

Metadata authorization and data access

Metadata authorization controls what a user can see and change in the catalog. It does not control whether the user can query the data. Engines enforce data access policies separately.