-
Notifications
You must be signed in to change notification settings - Fork 6
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
[feat]PIP 167: Make it Configurable to Require Subscription Permission for Consumer #246
[feat]PIP 167: Make it Configurable to Require Subscription Permission for Consumer #246
Conversation
...websocket/src/main/java/org/apache/pulsar/websocket/service/WebSocketProxyConfiguration.java
Outdated
Show resolved
Hide resolved
@eolivelli @dlg99 @nicoloboschi - this is ready for review |
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.
LGTM
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.
LGTM
CI was failing due to invalid caching. I merged |
This PR is meant to fulfill the requirements described by apache#15597.
The implementation essentially locks down all subscriptions so that in order to consume from a topic, a consumer will need permission granted for the specific topic and for the subscription within the namespace. A tenant admin and a super user will not need additional permission.