ruanwenjun opened a new pull request, #15652: URL: https://github.com/apache/dolphinscheduler/pull/15652
## Purpose of the pull request Right now, user can use resource API to modify all files in the machine, this is not accepted. This pr will fix this, user can only modify the resource file under resource path. ## Brief change log - Add path restriction in the resource update path. - Remove some unused code. ## Verify this pull request <!--*(Please pick either of the following options)*--> This pull request is code cleanup without any test coverage. *(or)* This pull request is already covered by existing tests, such as *(please describe tests)*. (or) This change added tests and can be verified as follows: <!--*(example:)* - *Added dolphinscheduler-dao tests for end-to-end.* - *Added CronUtilsTest to verify the change.* - *Manually verified the change by testing locally.* --> (or) If your pull request contain incompatible change, you should also add it to `docs/docs/en/guide/upgrede/incompatible.md` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
