Hi, I'm new in CakePHP.
Just setting up ACL for my apps with 3 user groups : - administrators - managers - users There's no issue with login - it's redirect to the right link. I've a problem when users logout. When i logged out with 'administrators' users, the apps will logged and redirect to the right link. But when i logged out using 'managers' & 'users' users, the app not logged out and redirect to the wrong page with "You are not authorized to access that location." message. here's my app_controller script : == <?php class AppController extends Controller { var $components = array('Acl', 'Auth', 'Session'); var $helpers = array('Html', 'Form', 'Session'); function beforeFilter() { //Configure AuthComponent $this->Auth->authorize = 'actions'; $this->Auth->loginAction = array('controller' => 'users', 'action' => 'login'); $this->Auth->logoutRedirect = array('controller' => 'users', 'action' => 'login'); $this->Auth->loginRedirect = array('controller' => 'ApplicationsUsers', 'action' => 'index'); $this->Auth->actionPath = 'controllers/'; $this->Auth->allowedActions = array('display'); } } ?> == and this is login and logout in my userscontroller == function login() { if ($this->Session->read('Auth.User')) { $this->Session->setFlash('You are logged in!'); $this->redirect('/', null, false); } } function logout() { $this->Session->setFlash('Good-Bye'); $this->redirect($this->Auth->logout()); } == pls heeeeeelppp meeee.. i've referred solution from this thread : http://groups.google.com/group/cake-php/browse_thread/thread/bb7472b0ef3d161/c7596953b630c51e?lnk=gst&q=logout# unfortunately.. i've got same result. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php