Conversation
|
This is an automated comment for commit 5f464a6 with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
|
Test |
|
This is from another PR, but I just leave it here. |
@alexey-milovidov Will look into it soon |
|
@alexey-milovidov do you think we could divide this work into two PRs? First one to support multiple authentication methods and second one to add expiration time? |
|
Totally ok, but we already have support for expiration time (for about half a year). |
|
|
This reverts commit 4d5676f.
is it green enoug now? |
|
Looks much greener, yes! |
@nikitamikhaylov Good, can we merge it now? |
|
The CI says it is not ready yet. |
Is this about performance check failure? It has been some time since I worked on a repo I had merge permissions, so I can't really tell what it is complaining about |
@nikitamikhaylov is this what is blocking the merge? If so, what needs to be done? Anything I should do on my side? |
|
@pufit kind ping |
The only thing left is to fix conflicts in the cloud repo on our side. I will do it by the end of Friday. Sorry for waiting |
|
Got CI/CD green again |
Multi auth methods
24.8.14 Backport of ClickHouse#65277: Multi auth methods
Multi auth methods
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Allow a user to have multiple authentication methods instead of only one. Allow authentication methods to be reset to most recently added method. If you want to run instances on 24.8 and one on 24.9 for some time, it's better to set
max_authentication_methods_per_user = 1for that period to avoid potential errors.CREATE USER user1 IDENTIFIED WITH plaintext_password BY '1', plaintext_password BY '2', sha256_password BY '3'-- user can authenticate with1,2or3.Same logic applies to
ALTERstatements.ALTER USER user1 RESET AUTHENTICATION METHODS TO NEW-- clears all authentication methods and keeps only the most recentALTER USER user1 IDENTIFIED WITH plaintext_password by '1'-- should remain working as it works nowadays, it'll clear all authentication methods and keep only the on found in the query.Closes #65136
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):