With the ACL/Auth set up, is there a way to redirect to a specific view in the event of a user who is logged in but does not have permission to a particular action? I believe by default, it redirects to the login page.
What I would like to accomplish are: 1. If the user is not logged in and tries to access a restricted area, he will be redirected to the login page. 2. If he is logged in but without the proper access permission, he will be redirected to a page that says something like "You do not have access permission to do that." Currently in both the above scenarios, the user is redirected to the login page. My AuthComponent configuration is as follows: $this->Auth->actionPath = 'controllers/'; $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' => 'media_centers', 'action' => 'index'); Thanks in advance for your help. Steve --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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?hl=en -~----------~----~----~----~------~----~------~--~---