whbing commented on PR #4799: URL: https://github.com/apache/ozone/pull/4799#issuecomment-1568245384
Parent ACL checking logic redefined in [HDDS-8717](https://github.com/apache/ozone/pull/4439/files#diff-c41e5b8d16771255aaf9b64fa5565417426d1bff8875cb45d1965334adad8806). Most cases just need READ permission for volume, see code: ```java // OzoneAclUtils#getParentNativeAcl // for bucket, except CREATE, all cases need READ for volume if (resType == BUCKET) { if (aclRight == IAccessAuthorizer.ACLType.CREATE) { return IAccessAuthorizer.ACLType.WRITE; } return IAccessAuthorizer.ACLType.READ; } ``` No need to check WRITE permission for volume when delete/rename key. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
