You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a series of relationships set up like this:
User
id
customer_id
Customer
id
distributor_id
Distributor
id
I have an endpoint like /user/, and I want to restrict users to only be able to see other users whose user.customer.distributor_id is the same as their user.customer.distributor_id
How would I go about setting up a rule for a scenario like this? Is it even possible to abstract these kinds of relationships into an ABAC schema?
The text was updated successfully, but these errors were encountered:
hi,
I have a series of relationships set up like this:
User
id
customer_id
Customer
id
distributor_id
Distributor
id
I have an endpoint like /user/, and I want to restrict users to only be able to see other users whose user.customer.distributor_id is the same as their user.customer.distributor_id
How would I go about setting up a rule for a scenario like this? Is it even possible to abstract these kinds of relationships into an ABAC schema?
The text was updated successfully, but these errors were encountered: