>From my experience with this, the user gets redirected back to the page that they came from.
If you go to http://volunteercake.sf.net and login as jdoe/jdoe, then try to go to http://volunteercake.sf.net/slots, you'll get the "You are not authorized to access that location." error and be redirected back to the prior page. On Jan 9, 7:30 am, vikas <vikas...@gmail.com> wrote: > hey all.. > > now my aro, aco, aro_aco entry is perfect. > > but now one new problem arise.. I checked permission for the current > logged in user using yout check()-given above. > If logged in user has no permission it shows me the message > “permission denied”… > > But still It allows that logged in user to access that page for which > he doesn’t have permission… > > So what I ll do???? Cant get whats the problem.. > > Help me If u understand my problem > > And also > Hey tell me one thing.. after checking permission if user is not > allowed then what to do with that user is our decision or this is done > by cakephp automatically??? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---