Method
Authorize
(ctx context.Context, object Object)
Source from the content-addressed store, hash-verified
| 1457 | } |
| 1458 | |
| 1459 | func (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
Tested by
no test coverage detected