MCPcopy Create free account
hub / github.com/clouditor/clouditor / CheckAccess

Method CheckAccess

service/authorization.go:56–56  ·  view source on GitHub ↗
(ctx context.Context, typ RequestType, req api.CertificationTargetRequest)

Source from the content-addressed store, hash-verified

54// supplied context (e.g., based on the authenticated user).
55type AuthorizationStrategy interface {
56 CheckAccess(ctx context.Context, typ RequestType, req api.CertificationTargetRequest) bool
57 AllowedCertificationTargets(ctx context.Context) (all bool, IDs []string)
58}
59

Callers 15

AssessEvidenceMethod · 0.65
StartMethod · 0.65
ListResourcesMethod · 0.65
UpdateResourceMethod · 0.65
StoreEvidenceMethod · 0.65
StartEvaluationMethod · 0.65
StopEvaluationMethod · 0.65
ListEvaluationResultsMethod · 0.65
CreateAuditScopeMethod · 0.65
GetAuditScopeMethod · 0.65
ListAuditScopesMethod · 0.65

Implementers 3

AuthorizationStrategyJWTservice/authorization.go
AuthorizationStrategyAllowAllservice/authorization.go
AuthorizationStrategyMockinternal/testutil/servicetest/authz.go

Calls

no outgoing calls

Tested by

no test coverage detected