Quick question about setting up permissions.
 
I am using admin routing configured to "manage" so all functions have
manage_name
 
now in the initDB function inthe cookbook
 
$this->Acl->allow($role, 'controllers/Images'); if i wanted that user to be
limited to only manage functions is this the correct way to set it up?
 
$this->Acl->allow($role, 'controllers/Images/manage/');
 
or do you have to do it function by function?
 
$this->Acl->allow($role, 'controllers/Images/manage_add');
$this->Acl->allow($role, 'controllers/Images/manage_index');
$this->Acl->allow($role, 'controllers/Images/manage_edit');
$this->Acl->allow($role, 'controllers/Images/manage_delete');
 
Thanks
 
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to