sijie commented on a change in pull request #6428: [Issue 5720][authorization
provider] Add granularity
URL: https://github.com/apache/pulsar/pull/6428#discussion_r405963131
##########
File path:
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/authorization/AuthorizationProvider.java
##########
@@ -173,4 +179,92 @@
CompletableFuture<Void> grantPermissionAsync(TopicName topicName,
Set<AuthAction> actions, String role,
String authDataJson);
+ /**
+ * Grant authorization-action permission on a tenant to the given client
+ * @param tenantName
Review comment:
Since this is a public interface, I would suggest adding documentation on
these fields. So that other people know how to implement this interface.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services