Hi Marcus,
As I just found out yesterday mayself:
I guess you have to map your actions to the CRUD model like:
$this->Auth->mapActions(array('update'=>
array('edit','editFoo','myupdatesomething')));
That is, when you plan on also using Auth....
Anja
-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[EMAIL PROTECTED] Im Auftrag von eMarcus
Gesendet: Mittwoch, 19. November 2008 15:55
An: CakePHP
Betreff: General ACL Question
Hi,
I want to use the ACL component to control access of users to model data.
I built up AROs, ACOs and permissions so far.
1.) does the ACL component automatically check if a user has an UPDATE right on
save operations?
2.) if not, where would be the best place to perform that check? (in a callback
function in the model itself, in the controller?)
Thanks,
bye
me.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---