RestrictionSetEntry
in package
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.
Table of Contents
- ALLOWED_ACTIONS = ['list', 'card', 'create', 'update', 'delete', 'export', 'chart', '']
- $action : mixed
- $pageId : mixed
- __construct() : mixed
- Constructor
Constants
ALLOWED_ACTIONS
public
mixed
ALLOWED_ACTIONS
= ['list', 'card', 'create', 'update', 'delete', 'export', 'chart', '']
Tags
Properties
$action
public
mixed
$action
= ''
Tags
$pageId
public
mixed
$pageId
= ''
Tags
Methods
__construct()
Constructor
public
__construct(string $action, string $pageId) : mixed
Parameters
- $action : string
-
Valid actions: 'list', 'card', 'create', 'update', 'delete', 'export', 'chart', ''. Empty = all
- $pageId : string