Skip to content
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

[Bug] Fix parameters of the Permission of the flink/savepoint/trigger interface are confused #4169

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Happy-shi
Copy link
Contributor

… interface are confused

What changes were proposed in this pull request

Issue Number: close #4168

Brief change log

Modify the parameters of the Permission of the flink/savepoint/trigger interface

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

  • Dependencies (does it add or upgrade a dependency): (yes / no)

Copy link
Member

@wolfboys wolfboys left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -68,7 +68,7 @@ public RestResponse delete(FlinkSavepoint sp) throws InternalException {
}

@PostMapping("trigger")
@Permission(app = "#savepoint.appId", team = "#savepoint.teamId")
@Permission(app = "#appId", team = "#teamId")
Copy link
Member

Choose a reason for hiding this comment

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

@Permission parameter team is not bind, there is no teamId in request parameter

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] Parameters of the Permission of the flink/savepoint/trigger interface are confused
2 participants