and btw you know you arent restricted to "create read update delete" ?
you can add your own fields like _admin to the db table and use it too


/me goes to update the book
--
Marcin Domanski
http://kabturek.info



On Wed, Sep 3, 2008 at 1:47 AM, Juan Luis Baptiste
<[EMAIL PROTECTED]> wrote:
>
> Hi aran,
>
> On Mon, Sep 1, 2008 at 5:17 PM, aranworld <[EMAIL PROTECTED]> wrote:
>>
>> There is a variable in the AuthComponent called actionMap that assigns
>> actions one of the four CRUD actions.
>>
>> To add an action named 'organize' to the list of controlled actions,
>> you do the following from within your controller:
>>
>> $this->Auth->actionMap['organize'] = 'update';
>>
>
> Awesome, this was what I was looking for :)
>
> Any comments about my second question about admin actions with admin routing ?
>
>>
>> Glad you liked the tutorial.
>>
>
> Yes, many thanks for writing it, for me it has been the best lecture
> about ACL out there, and the example site make it even better !!
>
>
> Cheers,
> --
> Juan Luis Baptiste
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to