Look into the $this->Auth->authorize = 'actions' and/or $this->Auth-
>authorize = 'controller'.  If your simply want to protect the basic
crud options you probably don't need ACL unless you have complex
groups/roles etc.

Here's another good write up
http://www.littlehart.net/atthekeyboard/2007/09/11/a-hopefully-useful-tutorial-for-using-cakephps-auth-component/

Also the latest nightly has proper ACO inheritence where if will
traverse up the url path until it finds a match.

Geoff
--
http://lemoncake.wordpress.com



On Sep 20, 9:42 pm, cakeFreak <[EMAIL PROTECTED]> wrote:
> Found some other artices on the bakery, but still strugling.
>
> - ToniAcl component tutorial
> - uri (http://bakery.cakephp.org/articles/view/toniacl-component-
> tutorial)
>
> Dan
>
> On 19 Set, 23:59, cakeFreak <[EMAIL PROTECTED]> wrote:
>
> > Well let's go with Cake 1.2,
>
> > while the Auth component seems to be pretty stable, the ACL one still
> > gives me some troubles!
>
> > I found several interesting tutorials (cheers guys!) that I'll list
> > for everybody else:
>
> > -http://realm3.com/articles/setting_up_users_groups_withacl_and_auth_i...
> > -http://lemoncake.wordpress.com/2007/07/19/using-authcomponent-and-acl...
> > -http://lemoncake.wordpress.com/2007/07/19/using-authcomponent-and-acl...
> > -http://www.ogrn.com/andy/2007/07/10/auth-changes-in-cakephp-12-and-ho...
> > -http://blog.jails.fr/cakephp/
>
> > + read those in the 
> > backeryhttp://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x
>
> > Nevertheless, I don't get why if I set an ACO Users (namely the
> > controller) I stilll should map all its  actions.
> > Namely I should put (via command line) "cake acl create aco Users add"
> > - "cake acl create aco Users edit" etc
>
> > why should I do that if in the aco-aro table I can grant specific
> > rights to every CRUD operation?
>
> > Or I am wrong?
>
> > Cheers dan


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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