-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fix][broker] fix can not revoke permission after update topic partition #17393
Conversation
This is the first PR only fix can not revoke permission problem. You can take a look. @michaeljmarshall @nodece |
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. This is a very clean solution.
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java
Show resolved
Hide resolved
pulsar-proxy/src/test/java/org/apache/pulsar/proxy/server/ProxyWithJwtAuthorizationTest.java
Show resolved
Hide resolved
@TakaHiR07 |
@mattisonchao I can help cherry-pick the relevant 2 pr to branch-2.9. |
### Motivation cherry-pick #17393 to branch-2.9
…ion (apache#17393) * add unittest for revoke permission of topic after update topic partition * fix revoke permission of partition Co-authored-by: fanjianye <fanjianye@bigo.sg> (cherry picked from commit 8c4aad5) (cherry picked from commit 2d0190f)
…ion (#17393) * add unittest for revoke permission of topic after update topic partition * fix revoke permission of partition Co-authored-by: fanjianye <fanjianye@bigo.sg>
Motivation
related to #16768
Modifications
should not fail a request that attempts to remove permission from a partition of a topic that was not already granted permission
Verifying this change
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
Check the box below or label this PR directly.
Need to update docs?
doc-required
(Your PR needs to update docs and you will update later)
doc-not-needed
(Please explain why)
doc
(Your PR contains doc changes)
doc-complete
(Docs have been already added)