Repository navigation
branch-4.2: [improvement](auth) Scope mysql.user rows to the caller and mask password columns #67444 - #70120
Merged
Conversation
…word columns ### What problem does this PR solve? Related PR: apache#67444 Problem Summary: mysql.user 尚未按请求者限制账户行并统一屏蔽密码派生列 Backport adaptation: Keep the branch JUnit 4 test annotations and add the Assertions import used by the original new cases. TShowUserRequest field 1 remains optional and has the same user-identity meaning on master; field ID 1 is unused on branches 3.1/4.0/4.1/4.2. Old BE requests without identity return no rows on the new FE; upgrade BE first to preserve availability during rolling upgrades. Use the existing JUnit 4 fixture executeCommand helper to create the two wildcard-host accounts; this fixture does not inherit TestWithFeService.addUser. Test scenarios and assertions are unchanged. ### Release note mysql.user 尚未按请求者限制账户行并统一屏蔽密码派生列 ### Check List (For Author) - Test: Unit Test — org.apache.doris.service.FrontendServiceImplTest; FE Checkstyle passed. BE ASAN build, formatting, targeted unit tests and clang-tidy passed; see local validation record. Static analysis used a task-local VFS overlay to remove an orphan NOLINTEND comment from the unchanged baseline types.h; production files and enabled checks were unchanged. Header hygiene gate unavailable: branch-4.2 does not contain build-support/check-build-hygiene.sh or its gates. Cluster regression tests were not run for this commit. - Behavior changed: Yes, fixes the behavior described above. - Does this need documentation: No (cherry picked from commit 38339c5)
Contributor
Author
|
run buildall |
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
FE UT Coverage ReportIncrement line coverage |
Contributor
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
Contributor
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
yiguolei
approved these changes
Nov 5, 2026
Contributor
|
PR approved by anyone and no changes requested. |
Contributor
|
PR approved by at least one committer and no changes requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
picked from master #67444