Hi,

I'm using CakePHP 2.4.2 and I followed the tuto to use the core Acl 
behavior.
I am able to create an usergroup and its Aros correctly.
However when I'm trying to add a new user, the user is correctly inserted 
in the User table but the Aro's not.
I'm having the same issue as this one : 
https://groups.google.com/forum/#!msg/cake-php/J964MBrQJ9A/_CXWk0BsSVkJ but 
because it is a bit old, I thought I should open a new one.

Here my User Model : http://pastebin.com/pGc1U7S8
Here the errors I have when trying to add a new user: 
http://pastebin.com/UUDnxwsc

As far as I understand the Acl behavior, it's like the AclBehavior object 
never call the Aro->node() function.

If I return null directly in the User model parentNode() function, it is 
working but the I don't have the linked with the user's usergroup.

How can I make it work?

Thank for any advices.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to