This commit is contained in:
0x20h 2012-01-13 23:36:29 +01:00
parent 9838338976
commit 1f31432a64

View file

@ -30,7 +30,7 @@
* 2. You configured AuthComponent to authorize actions via * 2. You configured AuthComponent to authorize actions via
* $this->Auth->authorize = array('Actions' => array('actionPath' => 'controllers/'),...) * $this->Auth->authorize = array('Actions' => array('actionPath' => 'controllers/'),...)
* *
* Now, when a user (i.e. jeff) authenticates successfully and requests a controller action (i.e. /invoices/edit) * Now, when a user (i.e. jeff) authenticates successfully and requests a controller action (i.e. /invoices/delete)
* that is not allowed by default (e.g. via $this->Auth->allow('edit') in the Invoices controller) then AuthComponent * that is not allowed by default (e.g. via $this->Auth->allow('edit') in the Invoices controller) then AuthComponent
* will ask the configured ACL interface if access is granted. Under the assumptions 1. and 2. this will be * will ask the configured ACL interface if access is granted. Under the assumptions 1. and 2. this will be
* done via a call to Acl->check() with * done via a call to Acl->check() with