Multiple users linked to one "Account" or dataset


#1

The context of my question is a SAAS app that would be used by different companies who sign up for the service.

What is the best way to have multiple users connected to one “Account” or dataset? For instance all the employees of Company A need individual usernames and passwords but need to have the data of Company A available to them no matter which employee input the data. The same is true for Company B and Company C ect.


#2

Take a look at alanning:roles package. You can contextualize (group) roles as accounts and see if it works out for you.


#3

Thanks - I’ll check it out