From bf51cabb50807908366c9cc4905318494fd9ff8e Mon Sep 17 00:00:00 2001 From: gwoo Date: Mon, 24 Sep 2007 10:11:08 +0000 Subject: [PATCH] updating auth doc bloc git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5688 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php index 69ed9d7b0..3b6de0879 100644 --- a/cake/libs/controller/components/auth.php +++ b/cake/libs/controller/components/auth.php @@ -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)