[ 
https://issues.apache.org/jira/browse/HDDS-1539?focusedWorklogId=250421&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-250421
 ]

ASF GitHub Bot logged work on HDDS-1539:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/May/19 19:35
            Start Date: 29/May/19 19:35
    Worklog Time Spent: 10m 
      Work Description: ajayydv commented on pull request #847: HDDS-1539. 
Implement addAcl,removeAcl,setAcl,getAcl for Volume. Contributed Ajay Kumar.
URL: https://github.com/apache/hadoop/pull/847#discussion_r288734357
 
 

 ##########
 File path: 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/VolumeManager.java
 ##########
 @@ -141,4 +143,43 @@ boolean checkVolumeAccess(String volume, OzoneAclInfo 
userAcl)
    */
   List<OmVolumeArgs> listVolumes(String userName, String prefix,
       String startKey, int maxKeys) throws IOException;
+
+  /**
+   * Add acl for Ozone object. Return true if acl is added successfully else
+   * false.
+   * @param obj Ozone object for which acl should be added.
+   * @param acl ozone acl top be added.
+   *
+   * @throws IOException if there is error.
+   * */
+  boolean addAcl(OzoneObj obj, OzoneAcl acl) throws IOException;
 
 Review comment:
   Since OzoneObj is wrapper remaining information might be used later to 
differentiate b/w stores. Also it keeps API consistent for all entities. 
 
----------------------------------------------------------------
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:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 250421)
    Time Spent: 3h 40m  (was: 3.5h)

> Implement addAcl,removeAcl,setAcl,getAcl for Volume
> ---------------------------------------------------
>
>                 Key: HDDS-1539
>                 URL: https://issues.apache.org/jira/browse/HDDS-1539
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Ajay Kumar
>            Assignee: Ajay Kumar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Implement addAcl,removeAcl,setAcl,getAcl for Volume



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to