Authorizator
interface Authorizator
Checks whether a given role has access to a given resource.
Constants
| All |
Set type: all |
| Allow |
Permission type: allow |
| Deny |
Permission type: deny |
| ALL |
|
| ALLOW |
|
| DENY |
|
Methods
bool
isAllowed(string|null $role, string|null $resource, string|null $privilege)
Performs a role-based authorization.
Details
at line 37
bool
isAllowed(string|null $role, string|null $resource, string|null $privilege)
Performs a role-based authorization.