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