On Wed, 2006-09-13 at 20:44 +0000, kabturek wrote:
> 
> mht wrote:
> > For couple of days I try to implement Cake ACL. Yes the documentation
> > lack of easy how to for ACL, different with the rest of others docs,
> > and I already search within this list to find how to. In the end, with
> > material from I find, I can implement User and ACL management within my
> > application. Gee..
> 
> yeah  i'm waiting for the bakery to publish a series of acl tutorials
> that i have in scraps ...
Glad to hear..

> but i think that it will be faster to deploy worpress on my serv ;)
> 
> > One thing I find with Cake ACL that not suite my need, this ACL not
> > support user that has belong to couple groups. Is that correct?
> 
> It is and it isn't;)
> 
> > If not, maybe someone can point me a way to do this?
> 
> Generally a ARO can have one parent so yes - in the *very* basic
> aproach you're right - a user can belong to one group. But it's a tree
> so AROs that you use as groups can also have parent's. So you need to
> think about the proper structure of the tree. Got to do some work now
> ;) give a replay if you're following me...
> greeta 
> Kabturek
Thanks, I can find a way to solve my problem. But I think an ARO can
accommodate that one ARO can have two or more parent. The problem at
Cake ACL is when we use getPath function that result just one path from
the first ARO that can find. Another ARO with same user_id or alias not
returned. Maybe this is request for feature ;)

Another note for Cake ACL. Why use read, create, update and delete
permission? I think create, update and delete represent the same
permission (write permission in GNU/Linux system). User who can create
should given update and delete right and vice versa, and inherently have
a read permission. And maybe worth to add, the approve permission. This
permission inherently have the other permission.

PS: sorry if you are confuse with my word because English is not my
native language ;)

TIA
-- 
 _                                
| |__   __ _ _ __  ___  ___ _ __  
| '_ \ / _` | '_ \/ __|/ _ \ '_ \ 
| | | | (_| | | | \__ \  __/ | | |
|_| |_|\__,_|_| |_|___/\___|_| |_|
http://hansen.alfansa.org
http://teknologipraktis.org


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

Reply via email to