Acl\Adapter::getDefaultAction

public getDefaultAction () Returns the default ACL access level

Acl\Adapter::getActiveRole

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

Acl\Adapter::getActiveResource

public getActiveResource () Resource which the list is checking if some role can access it

Acl\Adapter::getActiveAccess

public getActiveAccess () Active access which the list is checking if some role can access it

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

Acl::DENY

integer DENY

Acl::ALLOW

integer ALLOW

Acl

Source on GitHub Constants integer ALLOW 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