There is already a good discussion about users in multiple groups.
Check it out and see if it helps you out.

http://groups.google.com/group/cake-php/browse_thread/thread/b3b646023e97c1f3/5a2d623896424a56?hl=en&lnk=st&q=#5a2d623896424a56

I don't think Cake really supports it.  However, in my opinion that
isn't a bad thing, as the discussion in the link above points out.
Basically, the idea is that a user can only belong to one group and
can have access to many different things.  Let me know if you need an
example, I could type one up for you.

On Oct 21, 12:06 am, 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 cake-php@googlegroups.com
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