(ctx context.Context, id string)
| 8412 | } |
| 8413 | |
| 8414 | func (q *querier) UsageEventExistsByID(ctx context.Context, id string) (bool, error) { |
| 8415 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceUsageEvent); err != nil { |
| 8416 | return false, err |
| 8417 | } |
| 8418 | return q.db.UsageEventExistsByID(ctx, id) |
| 8419 | } |
| 8420 | |
| 8421 | func (q *querier) ValidateGroupIDs(ctx context.Context, groupIDs []uuid.UUID) (database.ValidateGroupIDsRow, error) { |
| 8422 | // This check is probably overly restrictive, but the "correct" check isn't |
nothing calls this directly
no test coverage detected