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

    matthieu

    @matthieu

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

    matthieu Unfollow Follow

    Best posts made by matthieu

    • Different Roles for Different Products

      Hello !
      I have one application for which I created a list of roles.
      In this application, a user can access several different products, but I would like my user to have some roles when he is accessing product 1, and other roles when accessing product 2.
      For now I use entity grants where the permissions are the list of my products to determine in my backend code if the user is allowed to access a product.
      But the problem is that if a user has permissions for 2 products, he will have the same list of roles for both products.

      The best would be to assign to a user, a pair role/product.
      Is there a way to do this ?

      Thank you

      posted in Q&A
      M
      matthieu

    Latest posts made by matthieu

    • RE: Different Roles for Different Products

      @mark-robustelli
      It would work, but I was looking for a method to avoid duplicating all the roles as they will be the same for all products.
      It would also mean I don't have to parse the role to separate the real role from the concerned product.

      posted in Q&A
      M
      matthieu
    • Different Roles for Different Products

      Hello !
      I have one application for which I created a list of roles.
      In this application, a user can access several different products, but I would like my user to have some roles when he is accessing product 1, and other roles when accessing product 2.
      For now I use entity grants where the permissions are the list of my products to determine in my backend code if the user is allowed to access a product.
      But the problem is that if a user has permissions for 2 products, he will have the same list of roles for both products.

      The best would be to assign to a user, a pair role/product.
      Is there a way to do this ?

      Thank you

      posted in Q&A
      M
      matthieu