-
Notifications
You must be signed in to change notification settings - Fork 3k
Tweaks for permission checkers for WebSockets Next #47461
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
Status for workflow
|
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.
This needs a review from @mkouba and @sberyozkin.
@OnOpen | ||
String open() { | ||
return "ready"; | ||
Uni<String> open() { |
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.
Considering io.quarkus.websockets.next.test.security.HttpUpgradePermissionCheckerTest.Checker#canDoReadOnEndpoint
doesn't check open
, the check is happening on the upgrade, this shouldn't have any relation at all. But that's just FYI, I don't think there is anything wrong about the change.
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.
Hm, and what's the actual reason for this change?
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.
@rsvoboda Hi Rostislav, can you please reply here to Martin before we merge ? I'm assuming the plan is to increase the test coverage of different open
response types
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.
Exactly, to cover different response type. I missed that, thanks for reminder @sberyozkin
Status for workflow
|
🙈 The PR is closed and the preview is expired. |
Thanks @rsvoboda @michalvavrik, |
@sberyozkin, about
|
Thanks @rsvoboda, great both Uni and non Uni variations are covered |
Tweaks for permission checkers for WebSockets Next
Part of work on QUARKUS-5859 Support permission checkers for WebSockets Next