\ZkMemberGroup
Synopsis
class ZkMemberGroup
extends DataExtension
{
- // methods
- public void updateCMSFields()
- private boolean isAdmin()
- public void canCreate()
- public void canEdit()
- public void canView()
- public void canDelete()
- public void requireDefaultRecords()
Hierarchy
Extends
- DataExtension
Tasks
Line | Task |
---|---|
13+ | this check should be done in core code, since the dropdown can be simply crafted for injecting administrators group ID |
Methods
private
- isAdmin() — Check if the current user can modify the group
public
- canCreate()
- canDelete()
- canEdit()
- canView()
- requireDefaultRecords() — Add a specific group in order to enable users/groups managemet
- updateCMSFields() — Remove the administrators group from the possible parent group