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 8EC0B200AE3 for ; Thu, 5 May 2016 01:06:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8D6EA1609FF; Wed, 4 May 2016 23:06:14 +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 0859B1609FC for ; Thu, 5 May 2016 01:06:13 +0200 (CEST) Received: (qmail 77628 invoked by uid 500); 4 May 2016 23:06:13 -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 77610 invoked by uid 99); 4 May 2016 23:06:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 23:06:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F2AC02C1F68 for ; Wed, 4 May 2016 23:06:12 +0000 (UTC) Date: Wed, 4 May 2016 23:06:12 +0000 (UTC) From: "Hudson (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-16224) RBAC: Clean up roles after ambari upgrade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 May 2016 23:06:14 -0000 [ https://issues.apache.org/jira/browse/AMBARI-16224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271609#comment-15271609 ] Hudson commented on AMBARI-16224: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #4793 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4793/]) AMBARI-16224. RBAC: Clean up roles after ambari upgrade (rlevas) (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=39f4cb806ab7522b27a48d6871c0de5a019195d3]) * ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog240Test.java * ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java > RBAC: Clean up roles after ambari upgrade > ----------------------------------------- > > Key: AMBARI-16224 > URL: https://issues.apache.org/jira/browse/AMBARI-16224 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: 2.4.0 > Reporter: Robert Levas > Assignee: Robert Levas > Labels: rbac, upgrade > Fix For: 2.4.0 > > Attachments: AMBARI-16224_trunk_01.patch > > > After AMBARI-16102, we no longer support more than 1 role per user. So we need a clean up when user upgrade to Ambari 2.4. If user has more than 1 role, we should keep the most "powerful" role and delete the rest. -- This message was sent by Atlassian JIRA (v6.3.4#6332)