(ctx context.Context, activeKeyDigest string)
| 6392 | } |
| 6393 | |
| 6394 | func (q *querier) RevokeDBCryptKey(ctx context.Context, activeKeyDigest string) error { |
| 6395 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceSystem); err != nil { |
| 6396 | return err |
| 6397 | } |
| 6398 | return q.db.RevokeDBCryptKey(ctx, activeKeyDigest) |
| 6399 | } |
| 6400 | |
| 6401 | func (q *querier) SelectUsageEventsForPublishing(ctx context.Context, arg time.Time) ([]database.UsageEvent, error) { |
| 6402 | // ActionUpdate because we're updating the publish_started_at column. |
nothing calls this directly
no test coverage detected