__construct()
__construct(string $action, string $pageId)
Constructor
Parameters
| string | $action | Valid actions: 'list', 'card', 'create', 'update', 'delete', 'export', 'chart', ''. Empty = all |
| string | $pageId |
Defines a single permission or restriction.
A RestrictionSetEntry belongs to a RestrictionSet. Based of $type from parent PermissionSet.
Example:
new RestrictionSetEntry('update', 'books'); //Either permit or restrict updating book records.