mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
updating auth doc bloc
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5688 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
54854aff43
commit
bf51cabb50
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ class AuthComponent extends Object {
|
|||
var $components = array('Session', 'RequestHandler');
|
||||
/**
|
||||
* The name of the component to use for Authorization or set this to
|
||||
* 'controller' will validate Controller::action against Controller::isAuthorized(user, controller, action)
|
||||
* 'controller' will validate against Controller::isAuthorized()
|
||||
* 'actions' will validate Controller::action against an AclComponent::check()
|
||||
* 'crud' will validate mapActions against an AclComponent::check()
|
||||
* array('model'=> 'name'); will validate mapActions against model $name::isAuthorize(user, controller, mapAction)
|
||||
|
@ -386,7 +386,7 @@ class AuthComponent extends Object {
|
|||
* used is based on the value of AuthComponent::$authorize or the passed $type param.
|
||||
*
|
||||
* Types:
|
||||
* 'controller' will validate Controller::action against Controller::isAuthorized(user, controller, action)
|
||||
* 'controller' will validate against Controller::isAuthorized()
|
||||
* 'actions' will validate Controller::action against an AclComponent::check()
|
||||
* 'crud' will validate mapActions against an AclComponent::check()
|
||||
* array('model'=> 'name'); will validate mapActions against model $name::isAuthorize(user, controller, mapAction)
|
||||
|
|
Loading…
Add table
Reference in a new issue