Repository navigation
Keep the user's settings in the embedded client of the web terminal and SSH - #125515
Merged
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The embedded client (used by
/webterminaland the SSH interface) replaced the settings of the authenticated session with default values viasetSettings. Settings coming from the user's profiles, roles, andCREATE USER ... SETTINGSwere lost, includingreadonly, resource limits, andadditional_table_filters. Now only the explicitly changed settings are applied, after checking them against the constraints.LocalConnection::sendQuerynow also checks the settings sent with a query against the constraints, asTCPHandlerdoes.Related: https://github.com/ClickHouse/clickhouse-private/issues/80919
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
The web terminal and the SSH interface no longer reset the settings of the user (from settings profiles, roles, and
CREATE USER ... SETTINGS) to default values. Previously, restrictions such asreadonly, resource limits, andadditional_table_filterswere not applied in these interfaces.🤖 Generated with Claude Code
Workflow [PR]
Sync PR [sync-upstream/pr/125515]
Version info
26.10.1.2321-master(included in26.10and later)26.9.19.8,26.8.27.8,26.7.30.10,26.3.52.5