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

I want to add multiple sets of Casbin configurations. How should I write the code for this? #91

Open
wcz0 opened this issue Feb 9, 2024 · 3 comments · May be fixed by #97
Open

I want to add multiple sets of Casbin configurations. How should I write the code for this? #91

wcz0 opened this issue Feb 9, 2024 · 3 comments · May be fixed by #97
Assignees
Labels
enhancement New feature or request

Comments

@wcz0
Copy link

wcz0 commented Feb 9, 2024

I want to add multiple sets of Casbin configurations. How should I write the code for this?

@casbin-bot
Copy link

@tangyang9464 @imp2002

@casbin-bot casbin-bot added the enhancement New feature or request label Feb 9, 2024
@hsluoyz
Copy link
Member

hsluoyz commented Mar 24, 2024

@wcz0 can you provide a justification about why need do this?

@wcz0
Copy link
Author

wcz0 commented Mar 24, 2024

@wcz0 can you provide a justification about why need do this?

Because multiple sets of permissions management is a common feature in a project, refer to https://github.com/php-casbin/laravel-authz?tab=readme-ov-file#multiple-enforcers.
Is there any method to easily implement multiple enforcers?

@ailiujiarui ailiujiarui linked a pull request Apr 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants