In PCG you are creating actions for defining pages for viewing and modifying data in the modules. So the PCG security configuration in done in Action design page. Please follow the below steps for setting up a group based / permission based security for an action.
The above steps will generate the code which will check for the permission before execution, also the permission will be generated automatically. The permission name will be module name + "_" + action name.
In admin portal create a role for the group. In permissions page, select the created role and check the permission name for the action which will provide the permission to the group. Edit the users and add the newly created roles for them to provide the permission.
Back to academy home