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

Function AllowListAll

coderd/rbac/scopes.go:224–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

222}
223
224func AllowListAll() AllowListElement {
225 return AllowListElement{ID: policy.WildcardSymbol, Type: policy.WildcardSymbol}
226}
227
228// String encodes the allow list element into the canonical database representation
229// "type:id". This avoids fragile manual concatenations scattered across the codebase.

Callers 9

TestIntersectAllowListsFunction · 0.92
TestUnionAllowListsFunction · 0.92
TestExpandScopeFunction · 0.92
scopes.goFile · 0.85
ParseAllowListFunction · 0.85
NormalizeAllowListFunction · 0.85
UnionAllowListsFunction · 0.85
IntersectAllowListsFunction · 0.85
TestAuthorizeScopeFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestIntersectAllowListsFunction · 0.74
TestUnionAllowListsFunction · 0.74
TestExpandScopeFunction · 0.74
TestAuthorizeScopeFunction · 0.68