Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7D28E200BFE for ; Mon, 16 Jan 2017 18:23:41 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7BC97160B41; Mon, 16 Jan 2017 17:23:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C6416160B28 for ; Mon, 16 Jan 2017 18:23:40 +0100 (CET) Received: (qmail 37240 invoked by uid 500); 16 Jan 2017 17:23:40 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 37230 invoked by uid 99); 16 Jan 2017 17:23:40 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Jan 2017 17:23:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 955E71A00F0 for ; Mon, 16 Jan 2017 17:23:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.804 X-Spam-Level: X-Spam-Status: No, score=0.804 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_BADIPHTTP=2, KAM_LAZY_DOMAIN_SECURITY=1, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-2.999, URIBL_BLOCKED=0.001, WEIRD_PORT=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id qH1ughR8l88E for ; Mon, 16 Jan 2017 17:23:38 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 2A3C95F5D3 for ; Mon, 16 Jan 2017 17:23:38 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C58E7E1370 for ; Mon, 16 Jan 2017 17:23:27 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 74A0424E02 for ; Mon, 16 Jan 2017 17:23:26 +0000 (UTC) Date: Mon, 16 Jan 2017 17:23:26 +0000 (UTC) From: "Sangeeta Ravindran (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-19542) Cannot change group/user privileges in list view if the user has VIEW.USER privilege MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 16 Jan 2017 17:23:41 -0000 [ https://issues.apache.org/jira/browse/AMBARI-19542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sangeeta Ravindran updated AMBARI-19542: ---------------------------------------- Attachment: (was: AMBARI-19542.patch) > 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)