Creating policy from policy creation form

Configure and create a new policy using the multi-step Create New Policy workflow.

Creating a policy involves configuring the following core sections in the policy form:
  • Service Details — Select the service definition, service name, optional security zone, and policy type (such as Access, Data Masking, or Row Filtering).

  • Resources Details — Define and add target resources for the policy.

  • Access Rules Details — Assign specific permissions, choose users, groups, or roles, and add optional conditions or delegation settings.

  • Policy Details — Set basic policy attributes such as name, labels, description, policy status, priority, and advanced parameters like validity period, policy conditions, and audit logging.

  • Review & Confirm — Review configured settings across all steps before submitting the new policy.

  • Service — Select the service definition, service name, optional security zone, and policy type (Access, Masking, or Row Filtering).

  • Resources — Define and add target resources for the policy.

  • Access Rules — Assign specific permissions, select users, groups, or roles, and add optional conditions or delegation settings.

  • Policy Details — Set basic policy attributes, such as name, labels, description, policy status, priority, and advanced parameters, including validity period, policy conditions, and audit logging.

  • Review & Confirm — Review configured settings across all steps before submitting the new policy.

  1. Log in to the Ranger Admin Web UI.
  2. Click Create New Policy in the sidebar.
    Figure 1. Ranger Admin Web UI dashboard


  3. Add the following service details, and click Next:
    Table 1. Service properties
    Property name Details
    Service Type

    Select the service definition for the policy.

    Service Name
    Select the service name for which the policy is being created.
    Zone Name

    Select a security zone if a zone policy is required.

    Policy Type

    Select the policy type. If the service supports data masking and row filtering policies, those options are available under the policy type.

    Figure 2. Service details in the policy creation form


  4. Add resources for the policy, and click Next.
    Figure 3. Resources in the policy creation form


  5. Configure the following access rules, and click Next:
    • Permissions — Select the specific types of permission needed.
    • Users, Groups, Roles — Filter and select from the listed users, groups, or roles. These entities are categorized by type using different icons.
    • Rule Conditions — Enter the condition and corresponding value.
    • Delegate Admin — Select to grant users, groups or roles the authority to create and manage policies, but strictly within the specific resource boundaries defined by the original policy.
    Figure 4. Access rule configuration in the policy creation form


    If the list of users, groups, or roles grows large, click Manage to open the Manage Users, Groups & Roles modal to remove entities.
    Figure 5. Users, groups, or roles management within the Policy Editor


  6. Add the following policy details, and click Next:
    Table 2. Policy properties
    Property name Details
    Policy Name Enter a unique name for this policy. The name cannot be duplicated anywhere in the system.
    Policy Labels Specify a label for this policy. You can search reports and filter policies based on these labels.
    Policy Description Enter a description for the policy.
    Policy Status Enable or disable the policy.
    Policy Priority Select whether the policy priority is normal or override.
    Advanced Settings Configure the validity period, policy condition, and audit logging settings for the policy.
    Figure 6. Policy details in the policy creation form


  7. Verify the details, and click Submit.
    You can review the configured data and return to any step by clicking the step number to make changes.
    Figure 7. Review and confirmation in the policy creation form


When editing a policy from the list view, the interface displays the old form by default. You can switch between the forms using the Old Form and New Form toggle button. After making changes, click Save.
Figure 9. Old and new form switch toggle button