I resolved it myself late yesterday ... I had not changed the
parentNode() method in my user controller to reflect the fact I had
named my table differently to the groups table in the ACL example
tutorial (I named it user_groups instead of just groups).

Therefore Users::parentNode() was not fetching the correct parent_id
for the ARO table which meant ACL was not updating the parent_id, lft
and rght fields in the ARO table properly.

This all resulted in a failure for ACL to pull out the inherited AROs
and stopped my user inheriting it's groups global allow on controller
level.

Hope this makes sense.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to