Specifying a client-based access control rule on an abstract class
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.
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
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.
- In the Source list, click Data Transform.
- In the Data transform name field, enter MyCBACTransform.