(ctx context.Context, provider string)
| 8036 | } |
| 8037 | |
| 8038 | func (q *querier) UpsertChatComputerUseProvider(ctx context.Context, provider string) error { |
| 8039 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 8040 | return err |
| 8041 | } |
| 8042 | return q.db.UpsertChatComputerUseProvider(ctx, provider) |
| 8043 | } |
| 8044 | |
| 8045 | func (q *querier) UpsertChatDebugLoggingAllowUsers(ctx context.Context, allowUsers bool) error { |
| 8046 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected