Hi, I have setup ACL component and everything looks fine. But only one problem.
If i am not login and access some permission denied page, it will redirect me to login page If i am login to basic user and access some permission denied page, it will show up the error page "Too many redirects". I don't know which path it was point to and keep looping, any way to show it? I added this to my app controller $this->Auth->loginError = "Wrong credentials. Please provide a valid username and password."; $this->Auth->authError = "You don't have sufficient privilege to access this resource."; $this->Auth->loginAction = array('controller' => 'users', 'action' => 'login'); $this->Auth->logoutRedirect = array('controller' => 'users', 'action' => 'login'); $this->Auth->loginRedirect = array('controller' => 'adcontents', 'action' => 'index'); The users controller i added: function beforeFilter() { parent::beforeFilter(); $this->Auth->allow(array('login','logout')); } I don't know how i can fix this problem as i didn't redirect to somewhere else. It is only happen when i login to basic user not public user. I already spent couple of hours to figure it out. But i have still no cue Thank you. -- 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