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

Method Authorize

coderd/rbac/authz_internal_test.go:1459–1461  ·  view source on GitHub ↗
(ctx context.Context, object Object)

Source from the content-addressed store, hash-verified

1457}
1458
1459func (f *mockPreparedAuthorizer) Authorize(ctx context.Context, object Object) error {
1460 return f.Original.Authorize(ctx, f.Subject, f.Action, object)
1461}
1462
1463// CompileToSQL returns a compiled version of the authorizer that will work for
1464// in memory databases. This fake version will not work against a SQL database.

Callers

nothing calls this directly

Calls 1

AuthorizeMethod · 0.65

Tested by

no test coverage detected