eolivelli opened a new issue #11945:
URL: https://github.com/apache/pulsar/issues/11945


   Currently (Pulsar 2.8.x) in order to use 
admin().topics().getPartitionedTopicListAsync(topicName) you have to have 
"Tenant admin" role.
   
   
   **Describe the solution you'd like**
   It should be enough to require topic level permissions and allow users that 
are allowed to produce/consumer on the topic to use that API.
   
   **Describe alternatives you've considered**
   I don't see any alternative
   
   **Additional context**
   I am working on a Pulsar Proxy for KOP and currently in KOP we require only 
Topic Level permissions, but if I use PulsarAdmin I am not able to get the 
partitions for a topic using a regular user that has only these permissions:
   ```
    admin.topics().grantPermission(fullNewTopicName,
                   ANOTHER_USER,
                   Sets.newHashSet(AuthAction.consume, AuthAction.produce));
   ```
   


-- 
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