hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nandakumar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-12147) Ozone: KSM: Add checkBucketAccess
Date Tue, 18 Jul 2017 09:43:00 GMT

    [ https://issues.apache.org/jira/browse/HDFS-12147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16091347#comment-16091347
] 

Nandakumar commented on HDFS-12147:
-----------------------------------

Good point [~cheersyang].
I agree that current implementation of passing {{OzoneAcl}} is not intuitive.
bq. mike belongs to hadoop group, when I verify user:mike:w, will it give me an access control
exception?
Sadly yes, with current implementation the client explicitly has to check for {{group:hadoop:w}}.
I'm open to suggestions here.

Getting user name from client and internally checking for user/group/world access makes more
sense, let me update the patch with this logic.

> Ozone: KSM: Add checkBucketAccess
> ---------------------------------
>
>                 Key: HDFS-12147
>                 URL: https://issues.apache.org/jira/browse/HDFS-12147
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: ozone
>            Reporter: Nandakumar
>            Assignee: Nandakumar
>         Attachments: HDFS-12147-HDFS-7240.000.patch, HDFS-12147-HDFS-7240.001.patch
>
>
> Checks if the caller has access to a given bucket.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message