Tuesday, June 18, 2013

ACL - Group question?

So, I am trying to setup a system in Cakephp 2.x where a user can be a member of multiple groups and gain access based on the what all those groups would provide. So here is my question. Right now, the ACL behavior along with a parentNode() function in my group model automatically creates an ARO entry when a new group is created. This seems to duplicate information as the ARO and the group seem to basically be the same thing, but in two different tables. Would I be better off just ignoring the group model and create a ARO model to handle the manipulation of the permissions?

On another note, is there anyway to make the ACL Behavior also save the alias of the record? Thanks

~Michael

--
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: