-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](restapi) Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI #50140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix](restapi) Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI #50140
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
…t with that of the SHOW statement.
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowBackendsStmt.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/analysis/ShowFrontendsStmt.java
Outdated
Show resolved
Hide resolved
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowBackendsCommand.java
Outdated
Show resolved
Hide resolved
...e-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/ShowFrontendsCommand.java
Outdated
Show resolved
Hide resolved
zddr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Modified pr Description Explaining the Behavioral Changes,such as Permission Requirements for Executing SHOW FRONTENDS
fe/fe-core/src/main/java/org/apache/doris/httpv2/rest/manager/NodeAction.java
Outdated
Show resolved
Hide resolved
|
@zddr I have updated some codes. Would you mind reviewing it once again? Thanks~ |
zddr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
run buildall |
…ENDS/BACKENDS And NODE RestAPI (apache#50140) ### What problem does this PR solve? Issue Number: close apache#50138 Problem Summary: Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI. Make it as same as the privileges of system default database `information_schema`.
…ENDS/BACKENDS And NODE RestAPI (apache#50140) Issue Number: close apache#50138 Problem Summary: Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI. Make it as same as the privileges of system default database `information_schema`.
…ENDS/BACKENDS And NODE RestAPI (apache#50140) Issue Number: close apache#50138 Problem Summary: Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI. Make it as same as the privileges of system default database `information_schema`.
…ENDS (#2750) doris pr: apache/doris#50140 ## Versions - [x] dev - [x] 3.0 - [ ] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built
What problem does this PR solve?
Issue Number: close #50138
Problem Summary:
Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI. Make it as same as the privileges of system default database
information_schema.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)