Heyo,
I'm messing around with the all of the lovely 1.2 (1.2.0.5875 pre-
beta) Acl stuff and have stumbled upon a question that all my readings
through the blogs and the source can not answer.  Is it possible and/
or does it make sense to have the AclBehavior create both an Aco and
an Aro for all records created in a specific model.

It seems to me like I need this, because I have a group model, a user
model, and a project model.  A group hasMany users and hasMany
projects.  An Aro is created for each user and an Aco is created for
each project.  By default, I'd like all users in a group to have full
access to that group's projects.  So it seems to me, whenever a new
group is created there should be an Aro created for that group that
will be the parent node of all the group's users, as well as an Aco
node for the group that will be the parent node for all of the group's
projects.   Does this sound right?

Looking at the source for the AclBehevior it seems like it only allows
you to set a model as either a requester or controlled, not as both.
So in this case would the Cakiest way to work around this be to
manually create the Aro and Aco from Group's afterSave call back?

Thank you kindly,
Mike
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to