I am a dev for a Rails-based web app that is multi-tenant where users manage “businesses” and respond to “tickets.” For instance, a user might be an
administrator for Business 1, which allows for a different dashboard, and then, under the same account, they might be a
manager for Business 2 and so on… Currently, we are using Rolify to manage roles.
What is the best way to use Auth0’s roles and groups to accomplish this? Somehow, we want to use Auth0’s Authorization Extension to show that a user is a manager of a business, via groups maybe, and then in our database show that a user in the “XYZ Business” group with the role of
manager is a manager of “XYZ Business”.