[ https://issues.apache.org/jira/browse/HDDS-2181?focusedWorklogId=319101&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-319101 ]
ASF GitHub Bot logged work on HDDS-2181: ---------------------------------------- Author: ASF GitHub Bot Created on: 26/Sep/19 17:38 Start Date: 26/Sep/19 17:38 Worklog Time Spent: 10m Work Description: xiaoyuyao commented on pull request #1528: HDDS-2181. Ozone Manager should send correct ACL type in ACL requests… URL: https://github.com/apache/hadoop/pull/1528#discussion_r328740746 ########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/bucket/OMBucketCreateRequest.java ########## @@ -143,7 +143,7 @@ public OMClientResponse validateAndUpdateCache(OzoneManager ozoneManager, try { // check Acl if (ozoneManager.getAclsEnabled()) { - checkAcls(ozoneManager, OzoneObj.ResourceType.VOLUME, + checkAcls(ozoneManager, OzoneObj.ResourceType.BUCKET, Review comment: This will require some additional changes on OzoneNativeAuthorizer as in the case of CREATE, ozone bucketmanager does not have any acl info wrt. the bucket that has not been created yet. ---------------------------------------------------------------- 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: 319101) Time Spent: 1h (was: 50m) > Ozone Manager should send correct ACL type in ACL requests to Authorizer > ------------------------------------------------------------------------ > > Key: HDDS-2181 > URL: https://issues.apache.org/jira/browse/HDDS-2181 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: Ozone Manager > Affects Versions: 0.4.1 > Reporter: Vivek Ratnavel Subramanian > Assignee: Vivek Ratnavel Subramanian > Priority: Major > Labels: pull-request-available > Time Spent: 1h > Remaining Estimate: 0h > > Currently, Ozone manager sends "WRITE" as ACLType for key create, key delete > and bucket create operation. Fix the acl type in all requests to the > authorizer. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org