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 008A5200B34 for ; Fri, 17 Jun 2016 12:13:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F1E37160A50; Fri, 17 Jun 2016 10:13:06 +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 4D797160A62 for ; Fri, 17 Jun 2016 12:13:06 +0200 (CEST) Received: (qmail 41000 invoked by uid 500); 17 Jun 2016 10:13:05 -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 40982 invoked by uid 99); 17 Jun 2016 10:13:05 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2016 10:13:05 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3AC292C1F60 for ; Fri, 17 Jun 2016 10:13:05 +0000 (UTC) Date: Fri, 17 Jun 2016 10:13:05 +0000 (UTC) From: "Andrew Onischuk (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-17292) Operations during upgrade are permitted by all roles MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Jun 2016 10:13:07 -0000 [ https://issues.apache.org/jira/browse/AMBARI-17292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Onischuk updated AMBARI-17292: ------------------------------------- Attachment: AMBARI-17292.patch > Operations during upgrade are permitted by all roles > ---------------------------------------------------- > > Key: AMBARI-17292 > URL: https://issues.apache.org/jira/browse/AMBARI-17292 > Project: Ambari > Issue Type: Bug > Reporter: Andrew Onischuk > Assignee: Andrew Onischuk > Fix For: 2.4.0 > > Attachments: AMBARI-17292.patch > > > ambari-server --hash > 9a2943ba77371f1c20b4f3da900abb7c2e89d22b > Build# ambari-server-2.4.0.0-591.x86_64 > **Steps** > 1. Create user with different roles like Cluster user, Service Administrator etc. > 2. Login as Ambari admin user and start Express Upgrade (register version, install packages and start EU) > 3. Pause the Upgrade at any step that requires manual intervention (like stop YARN queue or backup DB or even at Finalize step) > 4. Logout and login as cluster user > **Result**: > The logged in user has complete access to Upgrade Wizard and can resume > upgrade > Also do actions like Downgrade, 'Ignore and Proceed', 'Retry' > The same is true for other roles like service administrator too, both during > upgrade and downgrade > **Expected Result:** Only Ambari Admin and Cluster Admin should be permitted to perform actions during cluster upgrade > Screenshots attached for reference while logged in as cluster user role > (cluser) > Another observation: While upgrade is in progress, login in a different > session as cluster user - the cluster user can view the upgrade wizard in > exact same way as admin -- This message was sent by Atlassian JIRA (v6.3.4#6332)