Granting users permission to search the catalog

Add users and groups to the default all - catalog policy of the awc_udf service so that they can search for assets in Data 360, through the REST API, and through AI agents.

You are a Ranger administrator, or you have delegated administration on the catalog resource of the awc_udf service. For more information, see Accessing the Ranger Admin web UI.

Every search, including keyword, semantic, and similar-asset searches, requires the Search permission on the catalog resource of the awc_udf service. Without it, the search returns an access denied error (HTTP 403, UDF-403-001). To find assets similar to an asset, the user also needs read-entity on that asset.

The default all - catalog policy covers the whole catalog, so you grant search access by adding a rule to it. You can also create a separate policy on the catalog resource, but Cloudera recommends that you add rules to the default policy unless you have a specific reason for a separate policy.

  1. In the Ranger Admin web UI, click Resource Policies, and then click awc_udf under Cloudera Unified Data Fabric.
    The awc_udf Policies page lists the default policies of the service.
  2. In the Actions column of the all - catalog policy, click .
    The Edit Policy page opens. Under Allow Rules, the existing rule grants access to the administrator and the Cloudera Unified Data Fabric services.
  3. Under Allow Rules, click below the table to add a rule.
  4. In the new rule, select the users, groups, or roles in Select Users, Select Groups, or Select Roles.
  5. In the Permissions column of the new rule, click Add Permissions, select Search in the Add/Edit Permissions dialog, and then click the check mark button.

    Grant Export only to users who need to export assets. Grant Reindex only to administrators. Do not select the Delegate Admin check box.

  6. Click Save.

After the services refresh their policies, which takes a short time, the users and groups can search the catalog. Without a row-filter policy, they can find every asset in the catalog.

To limit which assets your users find, see Restricting search results with a row-filter policy.