ALLOWED_TYPES
ALLOWED_TYPES = array('allow-all', 'deny-all')
Defines a set of restrictions or rights to access pages and specific actions on pages. The $type 'allow-all' or 'deny-all' defines its behavior. A RestrictionSet belongs to a User.
__construct(string $type, array<mixed,\Alddesign\Crudkit\Classes\RestrictionSetEntry> $entries = array())
Creates new set of restrictions (permissions).
| string | $type | 'allow-all' = allow everything except the entries you define, 'deny-all' = deny everything except the entries you define |
| array<mixed,\Alddesign\Crudkit\Classes\RestrictionSetEntry> | $entries | Array of entires |