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