leizhiyuan opened a new issue, #18090: URL: https://github.com/apache/pulsar/issues/18090
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation in v2/namespaces just like ``` protected CompletableFuture<Void> internalUnloadNamespaceAsync() { return validateSuperUserAccessAsync() ``` and ``` protected CompletableFuture<Void> internalSplitNamespaceBundleAsync(String bundleName, boolean authoritative, boolean unload, String splitAlgorithmName, List<Long> splitBoundaries) { return validateSuperUserAccessAsync() ``` we only need to validate tenantAllowOperation, we do not need the role is superUser ### Solution we can check validateTenantOperationAsync ### Alternatives no ### Anything else? no ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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]
