hi @ all, i got the same problem! any sulotion at this point?
the problem is that i want to give a child a prarentNode which is one level above the current parent. on the same level all works fine for me. thanks, michael On 4 Sep., 22:50, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I am having an issue with ACL. I have tried doing an $aro->setParent > on an ARO object and I've also tried using the acl.php script that > comes with CakePHP and both of them fail when setting the parent on a > certain ARO. I've narrowed down where the code returns FALSE in the > setParent function, but I don't know exactly why this is. The code is > in the setParent function of cake/libs/controller/components/dbacl/ > models/aclnode.php and is this check: > > ($parentId != null && $newParent['lft'] <= $object['lft'] && > $newParent['rght'] >= $object['rght']) on line 178 of the current > stable release. > > My layout is: > 1[ROOT]10 > 2[MEMBERS]9 > 3[ADMINISTRATORS]8 > 4[PERSON1]5 6[PERSON2]7 > > I'm trying to set Person1 to have the parent of Members instead of > Administrators and it fails during the check above. Why is this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---