zymap commented on a change in pull request #9781:
URL: https://github.com/apache/pulsar/pull/9781#discussion_r586240664
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/v2/PersistentTopics.java
##########
@@ -286,11 +287,6 @@ public void setOffloadPolicies(@Suspended final
AsyncResponse asyncResponse,
OffloadPolicies
offloadPolicies) {
validateTopicName(tenant, namespace, encodedTopic);
validateAdminAccessForTenant(tenant);
- validatePoliciesReadOnlyAccess();
- checkTopicLevelPolicyEnable();
- if (topicName.isGlobal()) {
- validateGlobalNamespaceOwnership(namespaceName);
- }
internalSetOffloadPolicies(offloadPolicies).whenComplete((res, ex) -> {
Review comment:
Looks like the original PR also missed this
https://github.com/apache/pulsar/pull/9767/files#diff-f37aee2b7a1b61a339394b5ff47d7bd53133b58ec4c6faabea5375f5294d6048L311
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]