MCPcopy Index your code
hub / github.com/apache/casbin / GetImplicitUsers

Method GetImplicitUsers

rbac/role_manager.go:47–47  ·  view source on GitHub ↗

GetImplicitUsers gets the implicit users that inherits a role, respecting maxHierarchyLevel. domain is a prefix to the users (can be used for other purposes).

(name string, domain ...string)

Source from the content-addressed store, hash-verified

45 // GetImplicitUsers gets the implicit users that inherits a role, respecting maxHierarchyLevel.
46 // domain is a prefix to the users (can be used for other purposes).
47 GetImplicitUsers(name string, domain ...string) ([]string, error)
48 // GetDomains gets domains that a user has
49 GetDomains(name string) ([]string, error)
50 // GetAllDomains gets all domains

Callers 3

GetImplicitUsersMethod · 0.65
GetImplicitUsersMethod · 0.65

Implementers 3

RoleManagerImplrbac/default-role-manager/role_manager
DomainManagerrbac/default-role-manager/role_manager

Calls

no outgoing calls

Tested by

no test coverage detected