FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. gjermund
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    gjermund

    @gjermund

    0
    Reputation
    2
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    gjermund Unfollow Follow

    Latest posts made by gjermund

    • How to model roles to support multi-tenant (without actually using multi-tenant)

      I am trying to figure out how I can do this in a good way:
      Users can be members of 1 or more organizations
      Additionally, Users can be members of 0 or more facilities

      There are organization specific roles (admin, manager, member)
      There are facility specific roles (manager, member, auditor)

      It is fully possible for 1 user to be member of more than 1 organization with different roles in each and member of many facilities with different roles in each.

      I don't see any way of modelling this kind of multi-tenant system in FusionAuth (especially the roles). Am I missing something, or do I simply need to deal with all of this on my backend?

      posted in Q&A
      G
      gjermund