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

Function ScopedRoleOrgAdmin

coderd/rbac/roles.go:177–179  ·  view source on GitHub ↗

ScopedRoleOrgAdmin is the org role with the organization ID

(organizationID uuid.UUID)

Source from the content-addressed store, hash-verified

175
176// ScopedRoleOrgAdmin is the org role with the organization ID
177func ScopedRoleOrgAdmin(organizationID uuid.UUID) RoleIdentifier {
178 return RoleIdentifier{Name: RoleOrgAdmin(), OrganizationID: organizationID}
179}
180
181// ScopedRoleOrgMember is the org role with the organization ID
182func ScopedRoleOrgMember(organizationID uuid.UUID) RoleIdentifier {

Callers 15

TestPostChatsFunction · 0.92
TestOIDCRemovedFunction · 0.92
TestUpdateWorkspaceACLFunction · 0.92
TestAuditLogsFunction · 0.92
TestCheckPermissionsFunction · 0.92
TestPauseTaskFunction · 0.92
TestExtractUserRolesFunction · 0.92
benchmarkUserCasesFunction · 0.92
TestRolePermissionsFunction · 0.92
TestIsOrgRoleFunction · 0.92

Calls 1

RoleOrgAdminFunction · 0.85

Tested by 15

TestPostChatsFunction · 0.74
TestOIDCRemovedFunction · 0.74
TestUpdateWorkspaceACLFunction · 0.74
TestAuditLogsFunction · 0.74
TestCheckPermissionsFunction · 0.74
TestPauseTaskFunction · 0.74
TestExtractUserRolesFunction · 0.74
benchmarkUserCasesFunction · 0.74
TestRolePermissionsFunction · 0.74
TestIsOrgRoleFunction · 0.74