On Apr 10, 8:50 pm, djXternal <[email protected]> wrote:
> I have finally managed to get my ACL working, realized I was having
> issues using UUID's, now the super user can access everything fine
> when logged in and logout. But users with privledges lesser than that
> user, who do now have access to the 'Users' controller cannot logout.
> When I go to /Users/logout I get a 'You are not authorized to access
> that location.' error. I tried adding permissions to that lesser user
> to ba able to access only the logout action of the Users controller by
> doing 'cake acl grant Users Users logout', Users being the low-level
> group, and I still cannot access it.
you just need to $this->Auth->allow('logout'); i.e. make it publicly
accessible.
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---