You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2017/01/16 19:34:27 UTC

[jira] [Commented] (AMBARI-19542) Cannot change group/user privileges in list view if the user has VIEW.USER privilege

    [ https://issues.apache.org/jira/browse/AMBARI-19542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15824473#comment-15824473 ] 

Hadoop QA commented on AMBARI-19542:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12847655/AMBARI-19542.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {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-admin.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/10081//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/10081//console

This message is automatically generated.

> Cannot change group/user privileges in list view if the user has VIEW.USER privilege
> ------------------------------------------------------------------------------------
>
>                 Key: AMBARI-19542
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19542
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-admin
>    Affects Versions: 2.5.0
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>            Priority: Minor
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19542.patch
>
>
> 1. Create a view for e.g. Capacity Scheduler view and grant a group / user permissions for the view.
> 2. Go to Roles list view. Try to assign the group / user a different role via the List view.
> There is no response in the UI and the role is not updated. On the browser console, the following erorr can be seen.
> DELETE http://9.30.56.80:8081/api/v1/clusters/C1/privileges?PrivilegeInfo/privilege_id.in(416) 500 (Internal Server Error)
> In the ambari-server.log, the following exception is seen:
> Caused by: org.apache.ambari.server.AmbariException: Can't remove VIEW permission from a CAPACITY-SCHEDULER{1.0.0} resource.
>         at org.apache.ambari.server.controller.internal.PrivilegeResourceProvider$2.invoke(PrivilegeResourceProvider.java:460)
> This does not happen when roles are assigned via the Block view.



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