Customizing privileges
You can customize the content of the lists for the selectable options that appear for many fields on the Access Manager Privileges tab.
You can customize the content of the lists for the following data categories:
- Roles - By default the data page retrieves all roles defined in the current application rulesets.
- Case Types - By default the data page uses a report definition to return the list of case types in the current application.
- Data Types - By default the data page uses a report definition to return the list of data types in the current application and industry applications.
- Privileges - By default the data page uses a report definition to return the list of privileges in the current application.
- Access When - By default the data page uses a report definition to return the list of Access When rules in the current application.
In the table are important information needed for customization.
Data category | Source data page | Class name | Properties |
---|---|---|---|
Roles | D_AccessRoleList | Rule-Access-Role-Name |
pyAccessRole
pyLabel pyRuleSet |
Case Types | D_CaseTypeList | Rule-Obj-Class |
pyClassName
pyLabel |
Data Types | D_DataTypeList | Rule-Obj-Class |
pyClassName
pyLabel |
Privileges | D_PrivilegeList | Rule-Access-Privilege |
pyPrivilegeName
pyLabel |
Access When | D_AccessWhenList | Rule-Access-When |
pBlockName
pyLabel |
To customize a privilege, do the following steps.
- Create a report definition, data transform, or custom activity which returns the instances of Class name that you want, providing each Property.
- Save a copy of the Source data page into your application's ruleset, to override the default instance.
- Change the source of your copy of the Source data page to reference the report definition, data transform, or custom activity you created in step