Skip to main content

Setting up PBAC Approval Routing

PBAC approval routing provides a dynamic framework for routing access requests to appropriate approvers based on field type values. This enables context-aware approval workflows where different approvers review requests based on attributes like region, department, or data classification.

Understanding PBAC Approval Routing

PBAC approval routing uses field types to dynamically determine approvers based on request attributes. For conceptual background on how approval routing works, see Understanding Approval Routing for Applications.

This article demonstrates how to set up PBAC approval routing by creating access request policies, approval rights, and linking them to application rights.

Prerequisites

Before setting up PBAC approval routing, ensure you have:

  • Access to Resource Admin with the Application RBAC Owner Management Role (or higher)
  • An existing PBAC application with field types, field type values, and app rights already created

Procedure

Create an Access Request Policy for PBAC Approval

  1. Use the EmpowerID navbar and navigate to Low Code/No Code Workflow > Access Request Policies.

  2. Click the Add button on the Access Request Policy page. Add button on Access Request Policy page

  3. In the General section, enter the following information:

    • Name: Enter a name for the policy (e.g., "PBAC Approval" or "PBAC Approval Access Request Policy").
    • Display Name: Enter a display name.
    • Description: Enter a description.
    • Approval Policy: Select PBAC Approval.
    • Allow Activation (Skip Business Request): Enable this option.
    • Selectable in UI: Enable this option.

    General section with PBAC Approval selected

  4. Leave all other fields with their default settings and click Save.

Create Approval Rights

Create approval rights for each application right you want to configure for PBAC approval. For example, if you have a "View Product Catalog" right, create an approval right named "View Product Catalog Approval."

  1. Sign in to Resource Admin with at least the Application RBAC Owner Management Role.

  2. Search for the PBAC application where you want to create approval rights and click the Details button. Application search results

    The application Overview page opens. Application Overview page

  3. Expand PBAC Definitions, select App Rights, and click Create App Right.

    Create App Right button The "Onboard Az Local Right" wizard opens. Onboard Az Local Right wizard

  4. Complete the wizard sections with the appropriate information for the approval right.

    General Information

    FieldDescriptionAction
    NameName of the approval rightEnter the approval right name without spaces. For example, if you have an app right named "View Product Catalog," name the approval right "ViewProductCatalogApproval."
    Display NameUser-friendly name shown to end usersEnter a display name.
    DescriptionBrief characterization of the approval rightEnter a description.
    Right TypeApplication RightN/A (read-only, defaults to Application Right)
    LocationEmpowerID location for RBAC access. Default Organization is selected by default.Clear the default and select a different location if needed.
    PBAC Resource TypeResource type to which the app corresponds (optional)Select the PBAC Resource Type if applicable.

    Advanced Information

    Under Advanced Right Information, deselect Allow Export and leave all other fields empty, as they pertain to PBAC approval routing set on app rights only, not approval rights.

    Owner Information

    Owner Information fields

    FieldDescriptionAction
    Responsible PartyPrimary individual accountable for the approval rightEnter the responsible party's name (required).
    OwnersPeople who have ownership rights over the approval rightEnter owner names (optional but recommended).
    DeputiesSecondary contacts or assistants to ownersEnter deputy names (optional).

    IAM Shop Settings

    IAM Shop Settings fields

    • Under Select Access Request Policy, select Default Access Request Policy.
    • Under Select Assignees, select who should be eligible for assignment to the approval right.
    • Deselect Requestable in IAM Shop (approval rights should not be requestable).
    • Click Next.

    IAM Shop Settings with Default Access Request Policy

  5. Review the summary information for accuracy. Click Back to revisit previous steps if necessary. Summary of approval right configuration

  6. Click Submit to create the approval right.

  7. Repeat the procedure to add additional approval rights as needed.

Assign Approval Rights to App Rights

  1. From the application's App Rights menu, search for the app right that is the target of the approval right you created.

  2. Click the gear icon for the app right and select Manage Local Right. Manage Local Right context menu option

    The ManageAzLocalRightWizard workflow opens. ManageAzLocalRightWizard Select Action screen

  3. Under Select Options, choose Edit Settings for Right and click Next. Edit Settings for Right option selected

  4. Under Advanced Settings:

    • Select Split By Value for Approval to send approval requests to different people based on the requested field type values. Leave this unselected if you do not want to create separate requests for field type values.
    • In the PBAC Approval Right field, enter the name of the approval right and click the tile to select it. PBAC Approval Right field with approval right selected
  5. Click Next.

  6. Click Submit to close the Operation Execution Summary. Operation Execution Summary

    This directs you to the "Finish or Start Over Workflow" step.

  7. Select the appropriate option and click Submit. For this procedure, select Finish. Finish or Start Over Workflow options

Assign the Approval Right to Approvers

Assign the approval right to users who can approve or reject business requests for the application right.

  1. On the App menu, navigate to PBAC Assignments > App Rights Assignments.

  2. Click the dropdown arrow on the Assign App Right button and select Assign to Person. Assign to Person dropdown option

  3. Search for and select the person from the Select Person to Assign Right(s) field. Person selection field

    The "Assign Rights" modal opens.

  4. Click the approval right from the All panel. This enables the Add button. Approval right selected from All panel

  5. (Optional) To add a time constraint, toggle the Set Duration button, click the End Date Time field, and select an end date. Set Duration toggle with calendar

  6. Click Add. Add button

  7. Click Add to Cart. Add to Cart button

  8. Click the shopping cart icon and fill in the Add a Comment and Enter Business Request Name fields.

  9. Click Submit. Shopping cart with comment and business request name You should see a message indicating the status of the cart submission. Cart submission status message

  10. Click the status link to view the request status in My Tasks and approve the assignment. Request status link in My Tasks

  11. Click Submit to complete the approval process. Approval completion with Submit button

  12. Return to the App Rights Assignments page in Resource Admin. You should see the assignment. Completed approval right assignment in grid

Verify the Results

Test the PBAC approval routing by requesting access to the configured app right:

  1. Sign in to the IAM Shop as a user eligible for the application.

  2. Search for the application and click Request Access. IAM Shop application with Request Access button

  3. Select one of the rights configured for the application, then select a field type and one or more field type values (if configured). In this example, "Edit Product Catalog" is selected with "Lawn Care" and "Tools" field type values from "Hardware Products." App right and field type values selected

  4. Click Add to Cart.

  5. Click the cart icon to open the cart. You should see the app right and any field type "Scope" values. Shopping cart with app right and scope values

  6. Fill in the required Comment fields and click Evaluate Request to check for potential SOD violations.

  7. Enter a Business Request Name and click Submit. Request submission with business request name

    You should see that the request has been submitted for approval. If field type values were selected and Split By Value Approval was enabled, you will see an approval task for each requested field type value.

  8. Click the status link to view the Request Detail pane. Request submitted for approval status

  9. Click the Process Steps tab and then click the Show Approvers link. You should see the person designated as the PBAC approver. Process Steps showing PBAC approvers

Next Steps

After setting up PBAC approval routing, monitor approval workflows to ensure requests route to the correct approvers based on field type values.