MCPcopy Index your code
hub / github.com/coder/coder / Expand

Method Expand

coderd/rbac/roles.go:700–700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

698// support unavailable to the user. Eg: Scope to a single resource.
699type ExpandableRoles interface {
700 Expand() ([]Role, error)
701 // Names is for logging and tracing purposes, we want to know the human
702 // names of the expanded roles.
703 Names() []RoleIdentifier

Callers 15

getMaxTokenLifetimeMethod · 0.65
TestAPIKeyFunction · 0.65
TestExpandScopeFunction · 0.65
TestExternalScopeNamesFunction · 0.65
regoValueMethod · 0.65
TestAuthorizeScopeFunction · 0.65
testAuthorizeFunction · 0.65
TestRegoInputValueFunction · 0.65
expandRBACScopeMethod · 0.65

Calls

no outgoing calls

Tested by 11

TestAPIKeyFunction · 0.52
TestExpandScopeFunction · 0.52
TestExternalScopeNamesFunction · 0.52
TestAuthorizeScopeFunction · 0.52
testAuthorizeFunction · 0.52
TestRegoInputValueFunction · 0.52
TestAPIKeyScopesExpandFunction · 0.52
TestInsertCustomRolesFunction · 0.52
TestGroupsAuthFunction · 0.52