Skip to content

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)

@sonarqubecloud
Copy link

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


@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

Copy link
Contributor Author

@Happy-shi Happy-shi Mar 11, 2025

Choose a reason for hiding this comment

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

@wolfboys Do we want to change it to this?
@Permission(app = "#appId")

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