Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating an Access of Role to Object rule

Updated on June 30, 2021

Create an Access of Role to Object rule to associate an access role with a class.

  1. In the header of Dev Studio, click CreateSecurityAccess of Role to Object.
  2. On the Create form, define the context of the rule.
    1. In the Access class field, press the Down Arrow key and select the class that defines the abstract or concrete class that users who hold this access role need to access in some way. To provide uniform access to both a parent class and all its subclasses, enter the parent class name.
    2. In the Add to ruleset field, select the name and unlocked version of a ruleset that stores the privilege. As a best practice, to avoid confusion and difficult-to-debug security configurations, use the same ruleset as the ruleset of the Access class that you selected in 2.a.
  3. Click Create and open to open the Access of Role to Object form.
  4. Click Save.
  1. Defining permissions by using Access of Role to Object rules

    Use the Access of Role to Object rule form to define the permissions that an access role has for a class.

  2. Specifying privileges for an Access of Role to Object rule

    To more precisely define access to instances of a class, you update the Access of Role to Object rule to grant or revoke privileges for a role and access class. Specifying privileges is optional.

  3. Defining access settings for an Access of Role to Object rule

    To more precisely define access to instances of a class, you associate one or more access settings with an access role by using the Settings tab of the Access of Role to Object rule form. Specifying access settings is optional.

  • Previous topic Understanding Access of Role to Object rules
  • Next topic Defining permissions by using Access of Role to Object rules

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us