Skip to content

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

@TessilimiTheo

Description

@TessilimiTheo

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!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Node-Casbin Easy Tasks

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions