Skip to content

Conversation

@zhaorongsheng
Copy link
Contributor

@zhaorongsheng zhaorongsheng commented Apr 17, 2025

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

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@hello-stephen
Copy link
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@zhaorongsheng zhaorongsheng changed the title [fix](restapi) remove some permission checker about node config GET api [fix](restapi) Keep the permission verification in the node config GET API consistent with that of the SHOW statement. Apr 17, 2025
yiguolei
yiguolei previously approved these changes Apr 23, 2025
@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 23, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

Copy link
Contributor

@zddr zddr left a 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

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Apr 24, 2025
@zhaorongsheng zhaorongsheng changed the title [fix](restapi) Keep the permission verification in the node config GET API consistent with that of the SHOW statement. [fix](restapi) Unify Permission Requirements for Executing SHOW FRONTENDS/BACKENDS And NODE RestAPI Apr 24, 2025
@zhaorongsheng
Copy link
Contributor Author

@zddr I have updated some codes. Would you mind reviewing it once again? Thanks~

Copy link
Contributor

@zddr zddr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

yiguolei
yiguolei previously approved these changes Apr 24, 2025
@yiguolei
Copy link
Contributor

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Apr 24, 2025
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Apr 24, 2025
@yiguolei
Copy link
Contributor

run buildall

@yiguolei yiguolei added usercase Important user case type label dev/2.1.x dev/3.0.x labels Apr 24, 2025
koarz pushed a commit to koarz/doris that referenced this pull request Jun 4, 2025
…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`.
zddr pushed a commit to zddr/incubator-doris that referenced this pull request Jun 24, 2025
…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`.
zddr pushed a commit to zddr/incubator-doris that referenced this pull request Jun 24, 2025
…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`.
morrySnow pushed a commit that referenced this pull request Jun 26, 2025
… SHOW FRONTENDS/BACKENDS And NODE RestAPI #50140 (#52230)

Cherry pick from #50140

---------

Co-authored-by: zhaorongsheng <zhaorongsheng@users.noreply.github.com>
dataroaring pushed a commit that referenced this pull request Jul 7, 2025
… SHOW FRONT… (#52226)

…ENDS/BACKENDS And NODE RestAPI (#50140)

pick: #50140

---------

Co-authored-by: zhaorongsheng <zhaorongsheng@users.noreply.github.com>
morrySnow pushed a commit to apache/doris-website that referenced this pull request Dec 2, 2025
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.0.7-merged dev/3.1.0-merged kind/behavior-changed reviewed usercase Important user case type label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] privilege checking about node manager rest api

7 participants