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

Feature Request: Method to Retrieve All Domains for a User or a role #479

Open
TessilimiTheo opened this issue Jun 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@TessilimiTheo
Copy link

TessilimiTheo commented Jun 4, 2024

I noticed that the Casbin Go library includes a function getDomain. However, I'm looking for a method to retrieve all domains for a user without having to manually iterate over all policies.

Is there an existing method to get all domains for a user more efficiently, or is there a recommended approach to achieve this?

Thank you!

@casbin-bot
Copy link
Member

@nodece @Shivansh-yadav13

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
Development

No branches or pull requests

3 participants