UserIsAllowed

Controller plugin for authorize the current user.
extends Zend\Mvc\Controller\Plugin\AbstractPlugin
Methods Summary
public
# __construct( Omeka\Permissions\Acl $acl )
Construct the plugin.
public
# __invoke( \Resource\ResourceInterface|string $resource = NULL, string $privilege = NULL )
Authorize the current user.
Methods inherited from Zend\Mvc\Controller\Plugin\AbstractPlugin
setController(), getController()
Properties Summary
protected Omeka\Permissions\Acl $acl
# NULL
Properties inherited from Zend\Mvc\Controller\Plugin\AbstractPlugin
$controller