Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 442B41899D for ; Wed, 9 Dec 2015 10:55:11 +0000 (UTC) Received: (qmail 49736 invoked by uid 500); 9 Dec 2015 10:55:11 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 49696 invoked by uid 500); 9 Dec 2015 10:55:11 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 49683 invoked by uid 500); 9 Dec 2015 10:55:11 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 49679 invoked by uid 99); 9 Dec 2015 10:55:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2015 10:55:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F39442C1F57 for ; Wed, 9 Dec 2015 10:55:10 +0000 (UTC) Date: Wed, 9 Dec 2015 10:55:10 +0000 (UTC) From: "Wei Zhou (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9131) User/Domain admin cannot login to UI MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15048477#comment-15048477 ] Wei Zhou commented on CLOUDSTACK-9131: -------------------------------------- I have no testing env for master. you might apply this simple change: diff --git a/ui/plugins/quota/quota.js b/ui/plugins/quota/quota.js index 6051b2c..f066d69 100644 --- a/ui/plugins/quota/quota.js +++ b/ui/plugins/quota/quota.js @@ -25,6 +25,9 @@ id: 'quota', title: 'Quota', preFilter: function(args) { + if (!isAdmin()) { + return false; + } var retval = $.ajax({ url: createURL("listConfigurations&name=quota.enable.service"), async: false > User/Domain admin cannot login to UI > ------------------------------------ > > Key: CLOUDSTACK-9131 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9131 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: UI > Affects Versions: 4.7.0 > Reporter: Remi Bergsma > Assignee: Abhinandan Prateek > Priority: Blocker > Attachments: Screen Shot 2015-12-09 at 11.08.47.png > > > The Quota plugin checks whether the plugin is enabled but the call it uses it only available for root admins. As a result, no one can login except for root admins. > Pinging [~bhaisaab] -- This message was sent by Atlassian JIRA (v6.3.4#6332)