MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / Role

TypeAlias Role

app/controlplane/pkg/authz/authz.go:30–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30type Role string
31
32// RBACEnabled returns whether an org-scoped role has RBAC enabled and needs resource-scoped enforcement.
33func (r Role) RBACEnabled() bool {

Callers 15

assignValuesMethod · 0.92
assignValuesMethod · 0.92
FieldsMethod · 0.92
FieldsMethod · 0.92
WithAuthzMiddlewareFunction · 0.92
ListMembersMethod · 0.92
isUserOrgAdminFunction · 0.92
rbacEnabledFunction · 0.92
DeleteMembershipMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected