$roleMemory
$roleMemory : array
An array that stores the role name under the role's id as key
This class initialises and extends AclUser\Permissions\Acl and defines which roles are allowed to access which resources with what privileges
Extends Zend\Acl
disallowedRouteRedirect(\Zend\Mvc\MvcEvent $event, \Zend\Router\Http\RouteMatch $routeMatch) : \AclUser\Permissions\Acl\type
Handle request if user is not allowed the access the the requested resource and privilege
\Zend\Mvc\MvcEvent | $event | |
\Zend\Router\Http\RouteMatch | $routeMatch |
__construct(array $resources, \Zend\Authentication\AuthenticationService $authService, \AclUser\Service\UserManager $userManager, array $config)
Instantiate class
array | $resources | list of resources |
\Zend\Authentication\AuthenticationService | $authService | |
\AclUser\Service\UserManager | $userManager | |
array | $config |
isParticularRoute(\Zend\Router\Http\RouteMatch $routeMatch, string $controller, string $action) : boolean
Check whether this is particular route as defined by the controller and the action
\Zend\Router\Http\RouteMatch | $routeMatch | |
string | $controller | |
string | $action |