Uh oh!
There was an error while loading. Please reload this page.
[enhance](auth)support ldap user show grants - #54087
Conversation
Thearas
commented
Jul 30, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
zddr
commented
Jul 30, 2025
run buildall |
hello-stephen
commented
Jul 30, 2025
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Jul 30, 2025
TPC-H: Total hot run time: 34089 ms |
doris-robot
commented
Jul 30, 2025
TPC-DS: Total hot run time: 171665 ms |
doris-robot
commented
Jul 30, 2025
ClickBench: Total hot run time: 33.63 s |
zddr
commented
Jul 31, 2025
run p0 |
zddr
commented
Jul 31, 2025
run cloud_p0 |
zddr
commented
Aug 1, 2025
run buildall |
hello-stephen
commented
Aug 1, 2025
FE UT Coverage ReportIncrement line coverage |
doris-robot
commented
Aug 1, 2025
TPC-H: Total hot run time: 33889 ms |
doris-robot
commented
Aug 1, 2025
TPC-DS: Total hot run time: 173214 ms |
doris-robot
commented
Aug 1, 2025
ClickBench: Total hot run time: 33.13 s |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
zddr
commented
Aug 7, 2025
run buildall |
zddr
commented
Aug 7, 2025
run buildall |
doris-robot
commented
Aug 7, 2025
TPC-H: Total hot run time: 33597 ms |
doris-robot
commented
Aug 7, 2025
TPC-DS: Total hot run time: 169073 ms |
doris-robot
commented
Aug 7, 2025
ClickBench: Total hot run time: 33.22 s |
hello-stephen
commented
Aug 7, 2025
FE UT Coverage ReportIncrement line coverage |
PR approved by at least one committer and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
The LDAP user does not exist in Doris, so a "user does not exist" prompt will appear when executing the "show grants" command. It is a reasonable requirement for users to check their own permissions after logging in. Therefore, this PR enables LDAP users to view their own permissions when executing `show grants` themselves. However, others are still unable to do so, whether by specifying a particular username or checking all users. # Conflicts: # fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommand.java # fe/fe-core/src/test/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommandTest.java
The LDAP user does not exist in Doris, so a "user does not exist" prompt will appear when executing the "show grants" command. It is a reasonable requirement for users to check their own permissions after logging in. Therefore, this PR enables LDAP users to view their own permissions when executing `show grants` themselves. However, others are still unable to do so, whether by specifying a particular username or checking all users. # Conflicts: # fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommand.java # fe/fe-core/src/test/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommandTest.java
The LDAP user does not exist in Doris, so a "user does not exist" prompt will appear when executing the "show grants" command. It is a reasonable requirement for users to check their own permissions after logging in. Therefore, this PR enables LDAP users to view their own permissions when executing `show grants` themselves. However, others are still unable to do so, whether by specifying a particular username or checking all users. # Conflicts: # fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommand.java # fe/fe-core/src/test/java/org/apache/doris/nereids/trees/plans/commands/ShowGrantsCommandTest.java
What problem does this PR solve?
The LDAP user does not exist in Doris, so a "user does not exist" prompt will appear when executing the "show grants" command.
It is a reasonable requirement for users to check their own permissions after logging in. Therefore, this PR enables LDAP users to view their own permissions when executing
show grantsthemselves. However, others are still unable to do so, whether by specifying a particular username or checking all users.Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
support ldap user show grants
Release note
support ldap user show grants
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)