[ 
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.

Thoughts?

> 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.

Reply via email to