Authorization throwing a notFound exception
I have created a custom authorize component as per the book (I have some very complex permissions that are pulled from existing data sources).
-- Everything works as planned, however whenever the component returns false (access not allowed), I get the following output:
You are not authorized to access that location.
Error: The requested address '/xxx/yyy' was not found on this server.
I'm not throwing a NotFoundException anywhere. Is this expected? Is there something I can do to suppress the "Not found" message?
Regards
Like Us on FaceBook 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 unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home