Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7CF0D10F0C for ; Thu, 5 Mar 2015 22:45:10 +0000 (UTC) Received: (qmail 34090 invoked by uid 500); 5 Mar 2015 22:45:10 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 34042 invoked by uid 500); 5 Mar 2015 22:45:10 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 34030 invoked by uid 99); 5 Mar 2015 22:45:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 22:45:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ilya.mailing.lists@gmail.com designates 209.85.192.174 as permitted sender) Received: from [209.85.192.174] (HELO mail-pd0-f174.google.com) (209.85.192.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2015 22:45:03 +0000 Received: by pdbnh10 with SMTP id nh10so44048722pdb.4 for ; Thu, 05 Mar 2015 14:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=oPZlCuTt3dkWHOO3uaG1CmVeRzMxP9iH1nacPvzgW64=; b=HZfEP6hWst0bmBW8F59jay6+3KDZ2Uh8YBgTLkZ6M+MtOfLZ1ylukfQ9cvRejbdeoK /f4lIpZA8UaNoLoI5jilU7sjww7i2KlG97cSJQezJ9YmSCFeZONglN++9DOoCP24NnqB rtMi8ZsReVExEhs/1zFvZrT3+QCUjwGxHI4XSeHpsxydGaw+Bti+9wzQSsU5Ngf7AxYM 6fQ3FtpPYEWQSeYspQjcCfTSvV2QnCtJWscJGuiTRMzNiLwygTzkERZ9oUWKRHly4tox sQermfN2L3LhG29dM+k2NekYLKhU+n5H2DmiTRrcZTwe+L+aF+O+JSB2C0bgNZkfhKtg nJHw== X-Received: by 10.68.200.134 with SMTP id js6mr13559090pbc.55.1425595483046; Thu, 05 Mar 2015 14:44:43 -0800 (PST) Received: from [0.0.0.0] (dev1.cloudsand.com. [162.243.147.22]) by mx.google.com with ESMTPSA id zd14sm7954607pab.20.2015.03.05.14.44.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 14:44:42 -0800 (PST) Message-ID: <54F8DC56.6090003@gmail.com> Date: Thu, 05 Mar 2015 14:44:38 -0800 From: ilya musayev User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: "dev@cloudstack.apache.org" Subject: Disable a UI button via global setting - how to implement? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I'm looking into a way of making ResetVM button disabled in some cloudstack environments. Ideally, i'd want it per zone, but its can be also Global Setting. I don't want to disable the API ResetVM, just the UI button. Would you know of a feature/button in cloudstack UI that follows a similar pattern and can be used as a point of reference? Thanks ilya