Default Ranger policies for Cloudera Unified Data Fabric

Default Ranger policies, created when you deploy Cloudera Unified Data Fabric, give administrators and Cloudera Unified Data Fabric services the access they need, and are the starting point for the policies that you add for your users.

Default policies in the awc_udf service

The deployment creates one default policy for each resource path of the awc_udf service. Each default policy uses the value * for every resource, grants all access types, and allows delegated administration. The default policies are as follows:

  • all - catalog
  • rowFilter: all - catalog, a row-filter policy with no filter
  • all - entity-type, entity-path
  • all - entity-type, entity-path, classification
  • all - entity-type, entity-path, domain
  • all - entity-type, entity-path, extension
  • all - entity-type, entity-path, glossary-term
  • all - entity-type, entity-path, relationship
  • all - type-category, type-name

The default policies grant access to the Ranger administrator and to the Cloudera Unified Data Fabric services that call the catalog. Do not remove these principals from the default policies.

The default policies do not grant access to other users. Until you grant them access, your users cannot search the catalog or change its metadata. For more information, see Granting users permission to search the catalog.

Default policies in other services

  • udf_opensearch: all - index and all - clusterpermissions, for the Cloudera Unified Data Fabric services that use the search index and audit store.
  • udf_kafka: policies for every cluster, consumer group, delegation token, topic, and transactional ID for the Cloudera Unified Data Fabric services that use the internal Kafka cluster.
  • Engine services, such as udf_harmony_catalog_[***INSTANCE NAME***], udf_trino, and udf_spark: the default policies that each engine creates when it registers its service. Add data access policies for your users in these services.

Do not change or delete the default policies in udf_opensearch and udf_kafka. Cloudera Unified Data Fabric services stop working if they lose access to the search index or the internal Kafka cluster.