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?
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!