(ctx context.Context)
| 6190 | } |
| 6191 | |
| 6192 | func (q *querier) ListChatUsageLimitGroupOverrides(ctx context.Context) ([]database.ListChatUsageLimitGroupOverridesRow, error) { |
| 6193 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil { |
| 6194 | return nil, err |
| 6195 | } |
| 6196 | return q.db.ListChatUsageLimitGroupOverrides(ctx) |
| 6197 | } |
| 6198 | |
| 6199 | func (q *querier) ListChatUsageLimitOverrides(ctx context.Context) ([]database.ListChatUsageLimitOverridesRow, error) { |
| 6200 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected