Friday, October 2, 2009

Re: How use ACL in a particular situation

Users belonging to multiple groups is a pretty common question. There
are already some good discussions on how to do it. Here is one where
I give my take on how we did it.

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


On Sep 29, 2:32 am, "marco.rizze...@gmail.com"
<marco.rizze...@gmail.com> wrote:
> Hi
> I have a design question on ACL that I would use in my system.
> The problem is my system is a bit different from standard.
> I have users that can be belong to many teams.
> So a user can belong to two,three,four etc... teams.
> Moreover I have to manage the access of users to a document's list.
> To do this i would do this with ACL because I have to manage
> permissions for access to documents.
> M question is how define the ARO tree since I have user that belong to
> many teams (sometimes the permissions for access to documents are
> defined by teams, exactly If a user belongs to a team that can't read
> a document and belongs to a team that can read a document the user can
> read the document)?
> How is parentNode()  function in user model?
> Many Thanks
> Marco
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: