Skip to main content

Requiring a privilege for a rule

Pega Community logo

Note: The following content, referenced from Pega Community, is included here to help you better achieve the module learning objectives.

You can update a rule to specify that a privilege is required to access or use that rule. Only certain rule forms include the Privilege field, and for the rules that do, entering privileges is optional.

The following table lists the rules that require privileges and the function of the privilege for each of the rules:

Rule Privilege function
Activities Only users with the privilege can execute the activity.
Attachment category rules Only users with the privilege can perform certain operations on an attachment.
Correspondence Only users with the privilege can use the rule.
Flows Only users with the privilege can start the flow.
Flow actions Only users with the privilege can select certain actions.
Parse structured rules Only users with the privilege can execute rules.
Report definition rules Only users with the privilege can produce the report or chart.
Note: There are two ways to require a privilege on a rule:
  • Certain rules always require a privilege.
  • For a specific use case, you can require a privilege.
  1. Open the rule form for the rule that requires the privilege.

  2. On the Security tab, in the Privilege name field, enter the privilege name.

  3. Click Save As.

  4. Click Create and open.

For example: For example, to add the AllFlowActions privilege to the ShowDescription flow action, complete the following steps:
  1. In the navigation pane of Dev Studio, click Records Process Flow Action .
  2. In the Flow Action tab, in the Action Name column, click Show Description.
  3. Click the Security tab.
  4. In the Privilege name field, choose AllFlowActions.
  5. Click Save As.
  6. Click Create and open.

  • Understanding role permissions and privileges in Access Manager

    Privileges complement the security and access control features provided by access roles by restricting access to specific rules rather than to entire classes. A privilege associates an access role with a rule that needs to be secured. Create privileges to more precisely define the access control features that are provided by Access of Role to Object rules. A privilege is identified by its name and Applies to class.

  • Creating a privilege

    You can associate many rule types with privileges to more precisely define the access control features that are provided by Access of Role to Object rules. You create a privilege by using the Privilege rule form.

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice