Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

staging-v23.1.19: release-23.1: sql: regulate MODIFYCLUSTERSETTING with cluster setting #122455

Merged
merged 1 commit into from Apr 17, 2024

Conversation

blathers-crl[bot]
Copy link

@blathers-crl blathers-crl bot commented Apr 16, 2024

Backport 1/1 commits from #122055 on behalf of @fqazi.

/cc @cockroachdb/release


This PR introduces the cluster setting
sql.auth.modify_cluster_setting_applies_to_all.enabled which determines
whether users with MODIFYCLUSTERSETTING are able to edit non
sql.defaults settings. It also allows this setting to prevent viewing
sql.default settings. Additionally, a deprecation warning is added for
this cluster setting to inform that it should be replaced once the
cluster is finalized

Fixes: #122023

Release justification: important bug fix

Release note (bug fix): reintroduce
sql.auth.modify_cluster_setting_applies_to_all.enabled so that mixed
version clusters can migrate off this setting.


Release justification:

This PR introduces the cluster setting
sql.auth.modify_cluster_setting_applies_to_all.enabled which determines
whether users with MODIFYCLUSTERSETTING are able to edit non
sql.defaults settings. It also allows this setting to prevent viewing
sql.default settings. Additionally, a deprecation warning is added for
this cluster setting to inform that it should be replaced once the
cluster is finalized

Fixes: #122023

Release note (bug fix): reintroduce
sql.auth.modify_cluster_setting_applies_to_all.enabled so that mixed
version clusters can migrate off this setting.
@blathers-crl blathers-crl bot requested a review from a team as a code owner April 16, 2024 17:02
@blathers-crl blathers-crl bot force-pushed the blathers/backport-staging-v23.1.19-122055 branch from 016db36 to f02cec2 Compare April 16, 2024 17:02
@blathers-crl blathers-crl bot added blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot. labels Apr 16, 2024
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@fqazi fqazi merged commit a70692e into staging-v23.1.19 Apr 17, 2024
6 checks passed
@fqazi fqazi deleted the blathers/backport-staging-v23.1.19-122055 branch April 17, 2024 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blathers-backport This is a backport that Blathers created automatically. O-robot Originated from a bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants