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

Robert Levas updated AMBARI-13976:
----------------------------------
    Attachment: AMBARI-13976_trunk_01.patch

> Add permission label to to the dataset returned by the privilege resource 
> provider
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-13976
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13976
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-13976_trunk_01.patch
>
>
> Add permission name to to the dataset returned by the privilege resource 
> provider.
> The expected dataset for a privilege item is:
> {code}
> {
>   "href" : "http://ambari-server:8080/api/v1/privileges/1";,
>   "PrivilegeInfo" : {
>     "permission_name" : "AMBARI.ADMINISTRATOR",
>     "permission_label" : "Administrator",
>     "principal_name" : "admin",
>     "principal_type" : "USER",
>     "privilege_id" : 1,
>     "type" : "AMBARI"
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to