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

Function IsSystemRoleName

coderd/rbac/rolestore/rolestore.go:196–199  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

194type permissionsFunc func(rbac.OrgSettings) rbac.OrgRolePermissions
195
196func IsSystemRoleName(name string) bool {
197 _, ok := systemRoles[name]
198 return ok
199}
200
201var SystemRoleNames = maps.Keys(systemRoles)
202

Callers 3

canAssignRolesMethod · 0.92
MockedMethod · 0.92
ReconcileSystemRolesFunction · 0.85

Calls

no outgoing calls

Tested by 1

MockedMethod · 0.74