Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Set up A ROLE per domain #1297

Open
mtghr opened this issue Aug 16, 2023 · 1 comment
Open

[Question] Set up A ROLE per domain #1297

mtghr opened this issue Aug 16, 2023 · 1 comment

Comments

@mtghr
Copy link

mtghr commented Aug 16, 2023

There are instances when we require establishing a unique ROLE assigned solely to a single customer. For instance, consider creating a ROLE named "Domain_1_Location_supervisor."

Our objective is to prevent this role from appearing in any other domain, primarily due to the following reasons:

  1. Each domain might already feature a multitude of other ROLES.
  2. To ensure that when a customer accesses their specific domain, such as "Domain_2," they do not encounter a role unrelated to their domain, like "Domain_1."

I'm seeking guidance on whether achieving this within Casbin is feasible, as I've encountered challenges in deciphering the approach to achieve this goal.

@casbin-bot
Copy link
Member

@tangyang9464 @JalinWang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants