Repository navigation
Antalya 26.8 Backport of #125443 - Skip already present authentication methods in ALTER USER ... ADD IDENTIFIED WITH - #2681
Conversation
…re-duplicates Skip already present authentication methods in `ALTER USER ... ADD IDENTIFIED WITH` Conflicts committed as-is; the next commit resolves them: - src/Access/AuthenticationData.cpp (both modified) - src/Interpreters/Access/InterpreterCreateUserQuery.cpp (both modified)
Kept only the PR's de-duplication of auth methods and left out the expired-method pruning code, which comes from a newer upstream change and relies on code 26.8 doesn't have.
|
Backporter: cherry-pick conflicts resolved by AI Conflicted files:
Commits:
|
Replaced `{CLICKHOUSE_DATABASE:Identifier}` user names, which antalya-26.8's parser doesn't support, with a fixed `user_05366` name in the new test.
CI triage — @zvonandVerdict: 6 red checks, 0 caused by this PR's code. The only PR-attributable item is a DCO sign-off on the merge commit (a metadata fix, not a code problem); the integration/regression reds are all pre-existing/infra/flaky in code paths this backport never touches. The PR's own tests are green (new stateless Reminder of the scope: this backport only changes authentication-method handling — 1. DCO —
|
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
ALTER USER ... ADD IDENTIFIED WITHno longer duplicates methods the user already has. Does not apply to passwords with a random salt (sha256_password,scram_sha256_password,bcrypt_password). Side effect: TOTP secret changes in the users config now apply on reload. (ClickHouse#125443 by @zvonand)Documentation entry for user-facing changes
...
CI/CD Options
Exclude tests:
Regression jobs to run: