Hi Dave,
For pages that a user is not allowed to see I use:
$this->render('/deny_page', null, false)
of course you'll need a 'deny_page' in your views directory.
I'm not sure if I do it the 'right' way seeing on I'm using a custom
Auth component, but I check whether or not the user has the
appropriate permissions in my function, if he doesn't he gets the
'deny_page' rendered to him.
Hope this helps
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---