ivandika3 opened a new pull request, #6268: URL: https://github.com/apache/ozone/pull/6268
## What changes were proposed in this pull request? Following up on [HDDS-4715](https://issues.apache.org/jira/browse/HDDS-4715), we also need to resolve the bucket link for prefix ACL. Here are the changes included in this patch: - Include prefix resource type to be `BucketManagerImpl` so that prefix access under a bucket link will be resolved to the source bucket - Prefix ACL read: `PrefixManagerImpl#getAcl` will resolve the bucket to get the ACL - Prefix ACL write: `OMPrefixAclRequest#validateAndUpdateCache` will resolve the bucket before writing the ACL - This requires passing the resolved prefix `OzoneObj` to the request hooks (`onComplete`, `apply`) so that the request implementation can use the resolved object and not the link object - Fixed `PrefixManagerImpl#setAcl` so that default ACL is inherited only when the prefix does not exist - This was found in the integration test - Some comments and cosmetics improvements ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10412 ## How was this patch tested? Acceptance and integration tests. -- 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]
