gaoran10 commented on a change in pull request #13157:
URL: https://github.com/apache/pulsar/pull/13157#discussion_r769937630



##########
File path: 
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v1/Namespaces.java
##########
@@ -122,7 +122,7 @@
     @Path("/{property}/{cluster}/{namespace}/destinations")
     @ApiOperation(hidden = true, value = "Get the list of all the topics under 
a certain namespace.",
             response = String.class, responseContainer = "Set")
-    @ApiResponses(value = {@ApiResponse(code = 403, message = "Don't have 
admin permission"),
+    @ApiResponses(value = {@ApiResponse(code = 403, message = "Don't have 
admin or consume permission on namespace"),

Review comment:
       Maybe we need to modify the message, such as "Don't have admin or 
operate policies permission on the namespace".




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to