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

Struct mockAuthorizer

coderd/workspaceupdates_test.go:359–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357var _ pubsub.Pubsub = (*mockPubsub)(nil)
358
359type mockAuthorizer struct{}
360
361func (*mockAuthorizer) Authorize(context.Context, rbac.Subject, policy.Action, rbac.Object) error {
362 return nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected