(ctx context.Context, allowUsers bool)
| 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 { |
| 8047 | return err |
| 8048 | } |
| 8049 | return q.db.UpsertChatDebugLoggingAllowUsers(ctx, allowUsers) |
| 8050 | } |
| 8051 | |
| 8052 | func (q *querier) UpsertChatDebugRetentionDays(ctx context.Context, debugRetentionDays int32) error { |
| 8053 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected