__construct()
__construct(string $type, array<mixed,\Alddesign\Crudkit\Classes\RestrictionSetEntry> $entries = array())
Creates new set of restrictions (permissions).
Parameters
| 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 |