Skip to content

[Fix-18182][API] User can delete task definitions in unauthorized projects#18183

Merged
SbloodyS merged 1 commit intoapache:devfrom
ruanwenjun:dev_wenjun_fixDeleteTaskPermission
Apr 20, 2026
Merged

[Fix-18182][API] User can delete task definitions in unauthorized projects#18183
SbloodyS merged 1 commit intoapache:devfrom
ruanwenjun:dev_wenjun_fixDeleteTaskPermission

Conversation

@ruanwenjun
Copy link
Copy Markdown
Member

Was this PR generated or assisted by AI?

YSE, generated by ops 4.7

Purpose of the pull request

close #18182

Brief change log

  • Check if the task is belong to the given project.

Verify this pull request

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:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contains incompatible change, you should also add it to docs/docs/en/guide/upgrade/incompatible.md

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_fixDeleteTaskPermission branch from 97225bf to 1aee8e9 Compare April 19, 2026 13:35
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud

Copy link
Copy Markdown
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

LGTM

@ruanwenjun ruanwenjun changed the title [Fix-18182] [API] User can delete task definitions in unauthorized projects [Fix-18182][API] User can delete task definitions in unauthorized projects Apr 20, 2026
@SbloodyS SbloodyS merged commit 939439c into apache:dev Apr 20, 2026
122 of 123 checks passed
shrihari7396 pushed a commit to shrihari7396/dolphinscheduler that referenced this pull request Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [API] User can delete task definitions in unauthorized projects

2 participants