ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-13976) Add permission label to to the dataset returned by the privilege resource provider
Date Thu, 19 Nov 2015 21:05:10 GMT
Robert Levas created AMBARI-13976:
-------------------------------------

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


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)

Mime
View raw message