Close popover

Table of Contents

Specifying a client-based access control rule on an abstract class

Version:

You can define client-based access control (CBAC) rules on concrete classes and on abstract classes. At run time, Pega Platform combines multiple CBAC rules, starting from the concrete class. If the CBAC rule is on an abstract class and not on any of its concrete classes, you must do extra configuration to ensure that the abstract class is included.

  1. Create a data transform and append the abstract class name to .pxResults.

    You have defined a CBAC rule on the abstract class MyApp-Work-AbsClass but not on any of its concrete classes. Create a data transform named MyCBACTransform with the values shown below.
    Data transform step Action Target Relation Source
    1 Append and Map to .pxResults a new page
    1.1 Set .pyClassName equal to MyApp-Work-AbsClass
  2. Customize the data page D_pyCBACPolicyClassList by adding the data transform that you created in step 1 as a data source.

    For the data transform example in step 1 above, update the data page with the following values.
    1. In the Source list, click Data Transform.
    2. In the Data transform name field, enter MyCBACTransform.

  • Configuring a client-based access control rule

    Define the personal data properties and personal identifiers for a client-based access control rule (CBAC) so that requests for personal data can be tracked and processed. A CBAC rule defines access, update, and delete permissions for individual data elements.

  • Client-based access control

    If your application stores data that might be used to identify a person and you are subject to GDPR or similar regulations, use client-based access control (CBAC) to track and process requests to view, change, or remove the data.

  • Data Transforms

    A data transform defines how to convert data that is in one format and class (the source) into data of another format and class (the target). The supported formats are clipboard and JSON. Using a data transform instead of an activity to set property values speeds up development and makes application maintenance easier.

  • Data pages

    A data page defines the contents of a clipboard page and enables the system to access data from a range of sources on demand.

Suggest Edit

Have a question? Get answers now.

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