-
Notifications
You must be signed in to change notification settings - Fork 5k
[Improvement-13824][Resource Center] User can only visit resources under tenant defaultPath #13848
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
Conversation
dolphinscheduler-ui/src/views/resource/components/resource/index.tsx
Outdated
Show resolved
Hide resolved
dolphinscheduler-ui/src/views/resource/components/resource/index.tsx
Outdated
Show resolved
Hide resolved
…der tenant defaultPath
6d8d364 to
575aea4
Compare
|
Hi, @songjianet , thanks for your comments, i've removed all semi-colons and modified the logic that only query |
Codecov Report
@@ Coverage Diff @@
## dev #13848 +/- ##
============================================
- Coverage 39.09% 38.86% -0.24%
- Complexity 4435 4455 +20
============================================
Files 1142 1158 +16
Lines 42014 42441 +427
Branches 4740 4780 +40
============================================
+ Hits 16424 16493 +69
- Misses 23790 24128 +338
- Partials 1800 1820 +20
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
Done. |
|
SonarCloud Quality Gate failed. |
|
Hi, @SbloodyS @caishunfeng , would you like to help review back-end part when you're available :D |
SbloodyS
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.
+1
|
This pr fix the security problem, and I think we should cherry-pick to the next 3.1.x version, so I add the |
cc @zhuangchong |
|
@Radeity The part code in the dev branch and the 3.1.9 branch has been greatly changed in the resource center. Can you submit a PR to the 3.1.9-prepare branch? |
Or maybe we can tell to security or reporter we could fix it in 3.2.1? @caishunfeng |









Purpose of the pull request
Brief change log
/resource/base-dirfor querying base resource dir which add constraint that breadcrumb navigation can only visit resources or files under tenant's resource paths.Verify this pull request