[ 
https://issues.apache.org/jira/browse/HADOOP-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod K V updated HADOOP-6715:
------------------------------

    Component/s: security
                 util

I propose we separate the display functionality from {{toString()}} as the 
latter can potentially be used for other purposes as Ravi mentioned above. So 
we will
 - fix {{toString()}} addressing the bug related to the wild-card '*'
 - add a new API say {{AccessControlList.getDisplayString()}}. This should 
return "ALL USERS" for '*' and "NONE" for ' ' (empty space character) and the 
output of {{toString}} for every other value of ACL.

Thoughts?

> AccessControlList.toString() returns empty string when we set acl to "*"
> ------------------------------------------------------------------------
>
>                 Key: HADOOP-6715
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6715
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security, util
>            Reporter: Ravi Gummadi
>            Assignee: Ravi Gummadi
>
> AccessControlList.toString() returns empty string when we set the acl to "\*" 
> and also when we set it to empty(i.e. " "). This is causing wrong values for 
> ACLs shown on jobdetails.jsp and jobdetailshistory.jsp web pages when acls 
> are set to "\*".
> I think AccessControlList.toString() needs to be changed to return "\*" when 
> we set the acl to "\*".

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