HI, In your example there are users with multiple groups. this tutorial will help you.
http://www.cakephpforum.net/index.php?s=5b11d7970e067edd8521121a5b0593e9&showtopic=745 On 21 Oct, 06:06, jst4fun <[EMAIL PROTECTED]> wrote: > Hi All, > I have been trying to create an application using cakephp ACL and have > been pulling out my hairs for past few days. I was not able to get > much help from the IRC so my last hope is with this group.Those > reading this might feel stupid, but I am beginner so please bear with > me. I followed the tutorial > athttp://book.cakephp.org/view/641/Simple-Acl-controlled-Application > and I felt it was a good starting point. But my issue is that, in that > tutorial group structure created is of the following format > Administrator > - User1 > Employee > - User2 > - User3 > Editor > - User2 > - User4 > In my situation there needs to be another top level group as follows > Office1 > - Administrator > - User1 > - Employee > - User2 > - User3 > - Editor > - User2 > - User4 > Office2 > - Administrator > - User5 > - Accountant > - Use5 > - User2 > - HR > - User2 > - User4 > The above structure means there will be a parent group for a group. > What change should be made to the code > inhttp://book.cakephp.org/view/545/Using-the-AclBehavior > to bring out such a grouping. If my question is not clear please let > me know. Please please please help me out. Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
