Re: Acl update when changing Users/Groups

2007-08-29 Thread Geoff Ford
As AclNode actsAs Tree you can try using $this-Group-Aro-setParent() I'd like to know how you go with this. Geoff -- http://lemoncake.wordpress.com On Aug 28, 11:19 pm, Flan [EMAIL PROTECTED] wrote: Hello, I have been trying out Acl and adding Aros with Users and Groups along the same

Re: Acl update when changing Users/Groups

2007-08-29 Thread Geoff Ford
Adrian, This behavior appears to be by design. If you look at http://api.cakephp.org/1.2/libs_2model_2behaviors_2acl_8php-source.html#l00092 you can see that it specifically tests for if $created before adding it to the database. I'm not certain why this is but I'm sure there is a good reason.

Acl update when changing Users/Groups

2007-08-28 Thread Flan
Hello, I have been trying out Acl and adding Aros with Users and Groups along the same lines as: http://bakery.cakephp.org/articles/view/how-to-use-acl-in-1-2-x http://lemoncake.wordpress.com/ It seems to work fine but then I find a problem. I setup the Users/Groups as follows Group1