You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2016/02/17 00:58:18 UTC
[jira] [Commented] (AMBARI-15036) Return privilege information with
results from GroupResourceProvider
[ https://issues.apache.org/jira/browse/AMBARI-15036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149533#comment-15149533 ]
Hadoop QA commented on AMBARI-15036:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12788079/AMBARI-15036_trunk_01.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in ambari-server.
Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/5399//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/5399//console
This message is automatically generated.
> Return privilege information with results from GroupResourceProvider
> --------------------------------------------------------------------
>
> Key: AMBARI-15036
> URL: https://issues.apache.org/jira/browse/AMBARI-15036
> Project: Ambari
> Issue Type: Task
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: rbac
> Fix For: 2.4.0
>
> Attachments: AMBARI-15036_trunk_01.patch
>
>
> Return privilege information with results from GroupResourceProvider, which is invoked when issuing the following REST API call:
> {noformat}
> GET /api/v1/groups
> {noformat}
> The result set should looks something like:
> {code}
> {
> "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"
> }
> }
> ]
> }
> ]
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)