Welcome Guest, Not a member yet? Register   Sign In
Separate roles/permissions for users belonging to multiple organizations
#10

(This post was last modified: 06-04-2021, 04:01 AM by manager.)

(05-30-2021, 05:32 AM)MGatner Wrote: I’m not sure what the difference is between an “organization” and a “group”. Myth:Auth has full support for groups and group-based roles and permissions.
By 'organization' i mean 'company'.  

Let's say we have an app for managing invoices of legal entities. 
Users in real life can work for several companies at the same time. So user Bob works in "Company A" and "Company B". Both companies use our invoicing app. 

The question is how to handle situation when user Bob has "single account in our invoicing app" , but must have different permissions in our app granted by companies where he works ?
Lets say in "Company A" Bob has "permission1, permission2", but in "Company B" have only "permission 3". 
How to handle all this above situations in our database tables structure and in our auth module ?
Reply


Messages In This Thread
RE: Separate roles/permissions for users belonging to multiple organizations - by manager - 06-04-2021, 03:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB