Our users have different roles with different companies; the user might be an admin, an employee or a service provider. Is there a way to keep track of users' roles on a company-by-company basis?
Right now our initial stab has the role updating on the user. This means when the user signs in with a company they are "admin," we updated the user profile to show they are admin. But when the user switches to another company where they're, say, an employee, then we lose the detail that they're an admin of one company, and now their profile says "employee."