Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chainloop-dev/chainloop
/ IsAdmin
Method
IsAdmin
app/controlplane/pkg/authz/authz.go:37–39 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
35
}
36
37
func
(r Role) IsAdmin() bool {
38
return
r == RoleAdmin || r == RoleOwner
39
}
40
41
const
(
42
// Actions
Callers
7
verifyRequesterHasPermissions
Method · 0.80
validateRequesterPermissions
Method · 0.80
UpdateMemberMaintainerStatus
Method · 0.80
WithAuthzMiddleware
Function · 0.80
userHasPermissionOnGroupMembershipsWithPolicy
Method · 0.80
isUserOrgAdmin
Function · 0.80
WithAttestationContextFromUser
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected