(ctx context.Context, value string)
| 8234 | } |
| 8235 | |
| 8236 | func (q *querier) UpsertNotificationsSettings(ctx context.Context, value string) error { |
| 8237 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 8238 | return err |
| 8239 | } |
| 8240 | return q.db.UpsertNotificationsSettings(ctx, value) |
| 8241 | } |
| 8242 | |
| 8243 | func (q *querier) UpsertOAuth2GithubDefaultEligible(ctx context.Context, eligible bool) error { |
| 8244 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected