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

Function CustomSiteRole

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

Source from the content-addressed store, hash-verified

136
137func RoleOwner() RoleIdentifier { return RoleIdentifier{Name: owner} }
138func CustomSiteRole() RoleIdentifier { return RoleIdentifier{Name: customSiteRole} }
139func CustomOrganizationRole(orgID uuid.UUID) RoleIdentifier {
140 return RoleIdentifier{Name: customOrganizationRole, OrganizationID: orgID}
141}

Callers 2

assignableRolesFunction · 0.92
canAssignRolesMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected