I just finished setting up the AUTH and ACL as in the cookbook. Now when I log in as any user from different groups I can access every page on the site but I get this :
[Config] => Array ( [userAgent] => 8edf52fc0bebeb96d0f1c90b95f1a465 [time] => 1235718036 [rand] => 664576016 [timeout] => 10 ) [Message] => Array ( [auth] => Array ( [message] => You are not authorized to access that location. [layout] => default [params] => Array ( ) ) )
I copied the examples exactly, the ACOS AROS ACOS_AROS tables contain the data. Is there a this->Auth = something or some code i need to add tothe controllers to check that only the owner can access the page and not everyone in a group?
Dave
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment