Technoboy- opened a new pull request, #23355:
URL: https://github.com/apache/pulsar/pull/23355

   ### Motivation
   
   In AuthorizationProvider, the authorization interface 
`grantPermissionAsync(TopicName topicName, Set<AuthAction> actions, String 
role, String authDataJson)` currently only supports granting permissions to a 
single topic. 
   If multiple topics need to be authorized under a namespace, the client needs 
to call the authorization interface concurrently. 
   Since the permissions information are stored in the namespace-level 
policies, and multiple topics may be on different brokers, concurrent 
authorization will cause concurrent modification exceptions. 
   Therefore, supporting granting/revoking permissions for multiple topics is 
very friendly.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   
   


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