hi Davide,

davide wrote:
> I've made some tests and it seems to keep the right tree. Notice that I
> said it seems. I'm not very ACL proof and for me everything is ok but I
> prefer to refer me to someone more ACL-Friend than me.

Are there any missing or duplicate numbers in the lft & rght fields
after the demotion. If the same number appears in either field, the
tree has been corrupted; if there is a gap it has been corrupted.

> I've tried to delete the the node and then to create again and setting
> the new parent, but when I do that, it's also deleted all the aros_acos
> I gave to that user. I've tried something like

set the parent to null (or anything not under the current parent) and
then set the parent to the node that you want. Assuming that you are
looking for a working solution rather than hacking/fixing the core to
get it perfect.

HTH,

AD7six


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