xiaoyuyao commented on a change in pull request #2011:
URL: https://github.com/apache/ozone/pull/2011#discussion_r591667345
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/key/OMKeyRenameRequestV1.java
##########
@@ -108,6 +115,36 @@ public OMClientResponse
validateAndUpdateCache(OzoneManager ozoneManager,
checkKeyAcls(ozoneManager, volumeName, bucketName, toKeyName,
IAccessAuthorizer.ACLType.CREATE, OzoneObj.ResourceType.KEY);
+ if (isNativeAuthorizerEnabled) {
Review comment:
No, prefixManager does not need to be changed under the current model.
All the prefix ACLs has been inherited at key creation time. Check does not
need to be recursively populated into prefix.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]