You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2024/03/06 00:32:47 UTC

Re: [PR] [improve][broker] Consistently add fine-grain authorization to REST API [pulsar]

lhotari commented on code in PR #22202:
URL: https://github.com/apache/pulsar/pull/22202#discussion_r1513659780


##########
pulsar-common/src/main/java/org/apache/pulsar/common/policies/data/PolicyName.java:
##########
@@ -52,5 +52,6 @@ public enum PolicyName {
     RESOURCEGROUP,
     ENTRY_FILTERS,
     SHADOW_TOPIC,
-    DISPATCHER_PAUSE_ON_ACK_STATE_PERSISTENT
+    DISPATCHER_PAUSE_ON_ACK_STATE_PERSISTENT,
+    MESSAGE_SIZE

Review Comment:
   Is it necessary to add a new PolicyName? That might cause problems unless it is mapped in possible external AuthorizationProviders. Is there a way to not add a new PolicyName?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org