Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.4.0
Description
Return privilege information with results from GroupResourceProvider, which is invoked when issuing the following REST API call:
GET /api/v1/groups
The result set should looks something like:
{ "href" : "http://ambari-server:8080/api/v1/groups?fields=privileges/*", "items" : [ { "href" : "http:///ambari-server:8080/api/v1/groups/group1", "Groups" : { "group_name" : "group1" }, "privileges" : [ { "href" : "http://ambari-server:8080/api/v1/groups/group1/privileges/1", "PrivilegeInfo" : { "cluster_name" : "c1", "permission_label" : "Cluster User", "permission_name" : "CLUSTER.USER", "principal_name" : "group1", "principal_type" : "GROUP", "privilege_id" : 3, "type" : "CLUSTER", "group_name" : "group1" } } ] } ] }
Attachments
Attachments
Issue Links
- links to