(ctx context.Context)
| 3575 | } |
| 3576 | |
| 3577 | func (q *querier) GetLastUpdateCheck(ctx context.Context) (string, error) { |
| 3578 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceSystem); err != nil { |
| 3579 | return "", err |
| 3580 | } |
| 3581 | return q.db.GetLastUpdateCheck(ctx) |
| 3582 | } |
| 3583 | |
| 3584 | func (q *querier) GetLatestCryptoKeyByFeature(ctx context.Context, feature database.CryptoKeyFeature) (database.CryptoKey, error) { |
| 3585 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceCryptoKey); err != nil { |
nothing calls this directly
no test coverage detected