namespace Nette\Security
Authorizator checks if a given role has authorization to access a given resource.
public bool
isAllowed( string $role, string $resource, string $privilege )
Performs a role-based authorization.
$role
$resource
$privilege
ALL
NULL
ALLOW
true
DENY
false