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

Method Prepare

coderd/rbac/authz.go:845–847  ·  view source on GitHub ↗
(ctx context.Context, subject Subject, action policy.Action, objectType string)

Source from the content-addressed store, hash-verified

843}
844
845func (c *authRecorder) Prepare(ctx context.Context, subject Subject, action policy.Action, objectType string) (PreparedAuthorized, error) {
846 return c.authz.Prepare(ctx, subject, action, objectType)
847}
848
849type authzCheckRecorderKey struct{}
850

Callers

nothing calls this directly

Calls 1

PrepareMethod · 0.65

Tested by

no test coverage detected