So when calling an action from another action in the same Controller,
either using $this->myAction() or $this->setAction('myAction'), my auth
settings are being bypassed.
If a user isn't allowed access to myAction, of course he is denied, but I
have a scenario where there is an intermediary action. When kicked over
to myAction, auth should be consulted, but right now, the unauthorized
action goes through, no questions asked!
Is there a way to ensure that isAuthorized is consulted, even when
directing from one action to another?
--
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
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].
Visit this group at http://groups.google.com/group/cake-php?hl=en.