hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amareshwari Sriramadasu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6862) Add api to add user/group to AccessControlList
Date Wed, 04 Aug 2010 11:01:17 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12895217#action_12895217

Amareshwari Sriramadasu commented on HADOOP-6862:

I think adding/removing a wild card character through this api should not be allowed, because
adding a '*' (the only allowed wild card character in ACL) to an already created ACL does
not make sense. Also, It makes sense to accept it only in the constructor as it is now, which
defines the behavior to be simple. For example, adding it twice by addUser('*") and removing
it by removeUser("*") once would result in allowing all the users.

I will submit a patch which throws an exception saying "wild card not allowed" if a wild card
character is passed.


> Add api to add user/group to AccessControlList
> ----------------------------------------------
>                 Key: HADOOP-6862
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6862
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>             Fix For: 0.22.0
>         Attachments: patch-6862-1.txt, patch-6862.txt
> Add api addUser(String user) and addGroup(String group) to add user/group to AccessControlList

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message