ACL can give you all the flexibility you need really.

This seems like a straight forward solution.

If I, eddie, am an Admin for Loco's Tacos, but only a user for Mary's
Margaritas, then you can give me permissions as such.

allow eddie CRUD rights on Employee records for locos  tacos
allow eddie R rights on employee records for mary's margaritas

The difference between MAry's employee records and Loco's employee
records would be the key.   The simplest solution would probably be
the id for each record.  When creating each record you add
permisisons.

think..oh i am making a new employee for loco's, give the group loco
admins(aro) access to this record (Aco)





On Mar 23, 8:13 pm, mguthrie <[email protected]> wrote:
> I'm looking into CakePHP for developing an application that appears to
> have some unique requirements.  I'll try to break it down as simply as
> I can:
>
> 1.) Users register with the site
> 2.) A user can belong to one or more organizations (by invite only).
> These organizations keep data specific to their organization that
> isn't shared or publicly available to the rest of the organizations.
> Think of a CRM where each user can belong to one or more organizations
> that each manage their own customers in the same system.
> 3.) A user needs to have different rights depending on the
> organization.  In one organization a user may be an administrator and
> can do all things but in another they may only be able to view a
> certain area belonging to that organization.
>
> Everything in the application is going to center around a user's
> current organizational id.  So in the backend there will be a lot of
> filtering by organization ID.
>
> Can the CakePHP ACL give me that kind of flexibility?  Can a user have
> different rights to the same database tables depending on which
> organization they are currently working as?
>
> This may be confusing so if anyone needs me to clarify please let me
> know.
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to