Acl\Adapter::getActiveRole

public getActiveRole () Role which the list is checking if it’s allowed to certain resource/access

Acl\Adapter::setEventsManager

public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets the events manager

Acl\Adapter::getDefaultAction

public getDefaultAction () Returns the default ACL access level

Acl\Adapter::getEventsManager

public getEventsManager () Returns the internal event manager

Acl::ALLOW

integer ALLOW

Acl::DENY

integer DENY

Access Control Lists (ACL)

Phalcon\Acl provides an easy and lightweight management of ACLs as well as the permissions attached to them. Access Control Lists (ACL) allow an application to control access to its areas and the underlying objects from requests. You are encouraged to read more about the ACL methodology so as to be familiar with its concepts. In summary, ACLs have roles and resources. Resources are objects which abide by the permissions defined to them by the ACLs. Roles are objects that request access to resou

Acl

Source on GitHub Constants integer ALLOW integer DENY

Acl\Adapter

implements Phalcon\Acl\AdapterInterface, Phalcon\Events\EventsAwareInterface Source on GitHub Adapter for Phalcon\Acl adapters Methods public getActiveRole () Role which the list is checking if it’s allowed to certain resource/access public getActiveResource () Resource which the list is checking if some role can access it public getActiveAccess () Active access which the list is checking if some role can access it public setEventsManager (Phalcon\Events\ManagerInterface $eventsManager) Sets th