Wednesday, October 29, 2008

ACL troubles

I know there are ample tutorials on acl, and a few posts in here, but
I haven't been able to find anything to help my specific problem.
I'm using acl with auth to control access to actions - that all works
fine on my normal controllers.
I have then added a plugin, which has actions using admin_routing, and
am having trouble specifying acos for these controllers/actions.
How can I tell what path cake is looking for an aco node in for a
particular action? I tried printing out $this->Auth->action($this-
>params['url']['url']) which gives me the path I would expect. I have
a node with this path, and logged in as a user with access to the root
node, and yet get rejected from accessing the action.

Are there any tips for how I can track down where it is going wrong?
Cheers,
Colin.
--~--~---------~--~----~------------~-------~--~----~
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: