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

Method Prepare

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

Source from the content-addressed store, hash-verified

199 // its arguments and the surrounding object.
200 Authorize(ctx context.Context, subject Subject, action policy.Action, object Object) error
201 Prepare(ctx context.Context, subject Subject, action policy.Action, objectType string) (PreparedAuthorized, error)
202}
203
204type PreparedAuthorized interface {

Callers 14

testAuthorizeFunction · 0.95
AuthorizeSQLFilterMethod · 0.65
PrepareMethod · 0.65
BenchmarkRBACFilterFunction · 0.65
FilterFunction · 0.65
PrepareMethod · 0.65
PrepareMethod · 0.65
TestGetAuthorizedChatsFunction · 0.65

Implementers 7

mockAuthorizercoderd/workspaceupdates_test.go
RecordingAuthorizercoderd/coderdtest/authorize.go
FakeAuthorizercoderd/coderdtest/authorize.go
MockAuthorizercoderd/rbac/authz_internal_test.go
RegoAuthorizercoderd/rbac/authz.go
authCachecoderd/rbac/authz.go
authRecordercoderd/rbac/authz.go

Calls

no outgoing calls