mattisonchao opened a new pull request, #22163: URL: https://github.com/apache/pulsar/pull/22163
### Motivation Add fine-grain authorization to retention admin API so that it can be controlled at a more fine-grain level. ### Modifications - Update getRetention, add PolicyName.RETENTION with READ check - Update setRetention & removeRetention, add PolicyName.RETENTION with WRITE check ### Verifying this change - [x] Make sure that the change passes the CI checks. ### Does this pull request potentially affect one of the following parts: - [x] The REST endpoints ### Documentation - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> -- 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]
