Ok, after taking several peoples advice to look into admin routing, I have decided I want to go with that strategy. But my ACO's have only ever had the controller name, not the actions. So if my User has access to my LocationsController, then he would also have access to any admin_* functions as well. So what I want to know is how do I set up my ACO's to point to controller actions. I am using cake bakery with the command 'cake acl create aco Site Locations' where site is Patent ACO and Locations is the name of my controller. Currently that just gives basic access control at the controller level, but I need to check against all the admin_* functions and be able to deny anyone but an admin from using those. If I was to use 'cake acl create aco Site Locations/admin_*' as an ACO, would that work? Is there something else I need to do?
~Visceris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Tuesday, July 28, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment