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

Function CompositeScopeNames

coderd/rbac/scopes.go:182–189  ·  view source on GitHub ↗

CompositeScopeNames lists all high-level coder:* names in sorted order.

()

Source from the content-addressed store, hash-verified

180
181// CompositeScopeNames lists all high-level coder:* names in sorted order.
182func CompositeScopeNames() []string {
183 out := make([]string, 0, len(compositePerms))
184 for k := range compositePerms {
185 out = append(out, string(k))
186 }
187 slices.Sort(out)
188 return out
189}
190
191type ExpandableScope interface {
192 Expand() (Scope, error)

Callers 2

expectedFromRBACFunction · 0.92
collectAllScopeNamesFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected