xiaoyuyao commented on a change in pull request #885: HDDS-1541. Implement
addAcl,removeAcl,setAcl,getAcl for Key. Contributed by Ajay Kumat.
URL: https://github.com/apache/hadoop/pull/885#discussion_r290441327
##########
File path:
hadoop-ozone/objectstore-service/src/main/java/org/apache/hadoop/ozone/web/storage/DistributedStorageHandler.java
##########
@@ -478,6 +482,28 @@ public OutputStream newKeyWriter(KeyArgs args) throws
IOException,
return new OzoneOutputStream(keyOutputStream);
}
+ /**
+ * Helper function to get default acl list for current user.
+ *
+ * @return listOfAcls
+ * */
+ private List<OzoneAcl> getAclList(KeyArgs args) {
Review comment:
Same as comment earlier. This should be a common util helper to avoid
duplicated code.
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]