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

   ### Motivation
   Add fine-grain authorization to ns/topic management endpoints so that it can 
be controlled at a more fine-grain level.
   
   ### Modification
   - `TRIM_TOPIC` was missing, this would cause the normal user throw 
`IllegalStateException` not NotAuthorizedException.
   - adding fine-grain authorization to `internalSetProperty`, 
`internalSetProperties`, `internalGetProperty`, `internalGetProperties`, 
`internalRemoveProperty`, `internalClearProperties`, 
`internalUnloadTopic`,`internalGetManagedLedgerInfo`, 
`internalGetPartitionedStats`, `internalGetPartitionedStatsInternal`, 
`internalCreateSubscription`, `internalUpdateSubscriptionProperties`, 
`internalAnalyzeSubscriptionBacklog`, `internalGetSubscriptionProperties`, 
`internalCreateMissedPartitions`
   
   ### Verifying this change
   - Add fine-grain authorization test coverage to `NamespaceAuthZTest` and 
`TopicAuthZTest`
   
   ### 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