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 09C6C107AD for ; Wed, 7 Aug 2013 08:30:08 +0000 (UTC) Received: (qmail 61749 invoked by uid 500); 7 Aug 2013 08:30:07 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 61496 invoked by uid 500); 7 Aug 2013 08:30:06 -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 61488 invoked by uid 99); 7 Aug 2013 08:30:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 08:30:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ryanleicloudstack@gmail.com designates 209.85.216.169 as permitted sender) Received: from [209.85.216.169] (HELO mail-qc0-f169.google.com) (209.85.216.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 08:30:01 +0000 Received: by mail-qc0-f169.google.com with SMTP id m15so753417qcq.14 for ; Wed, 07 Aug 2013 01:29:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=89d00aepfl+BaEXGNDRJ6YrBEPp35Y1/zpKkeYijqS8=; b=SoTJFJpNzMURxqYBJUR5+UDDWLP/ZqFILpCUpNOVvVpZWhXNZjp0DMZ0YmOEseaP+x zzeUv5TM1bBQykuNE+vsLQM75fQiSWnuSst9wXvtJNWQoJpNaJOzRG6YtY+863Leq8S1 gdyOz+q/99bFw3g7OiXvE4IDvKVaHXAN8jnWEwBIrgYYWW5FmII9vAYGW9WgRdjmbxH0 iAaxiWSev150XN8rqNNOwXYG24CuQD8eSPMaEVDeojR784E+5glvo9SPmwEQoldVmkfW p2rSlrjjtHuFtKIjlqVrAcbpCr8Q6uDpwNMRSNIEMeVXtHysVn3szXkH3FD82WFwqWi/ zohA== MIME-Version: 1.0 X-Received: by 10.49.35.51 with SMTP id e19mr2534844qej.16.1375864180790; Wed, 07 Aug 2013 01:29:40 -0700 (PDT) Sender: ryanlei750328@gmail.com X-Google-Sender-Delegation: ryanlei750328@gmail.com Received: by 10.49.81.229 with HTTP; Wed, 7 Aug 2013 01:29:40 -0700 (PDT) In-Reply-To: References: Date: Wed, 7 Aug 2013 16:29:40 +0800 X-Google-Sender-Auth: 9O7dCBkSakE3y3dE-bQWUd2k5UU Message-ID: Subject: Re: Values within commands.properties.in From: Ryan Lei To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b5d533ac1763504e3575706 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b5d533ac1763504e3575706 Content-Type: text/plain; charset=UTF-8 Curious for long. When does the rule RESOURCE_DOMAIN_ADMIN come in place in CloudStack? A CloudStack account can only be root admin, domain admin, or user. Does RESOURCE_DOMAIN_ADMIN refer to something internal? ------------------------------------------------------------------------------------------- Yu-Heng (Ryan) Lei, Associate Reasearcher Chunghwa Telecom Laboratories / Cloud Computing Laboratory ryanlei@cht.com.tw or ryanlei750328@gmail.com On Fri, Aug 2, 2013 at 6:24 PM, Ian Duffy wrote: > Hi, > > This query is in relation to the permissions set for commands via > client/tomcatconf/commands.properties.in > > Within the header of the file it states: > "bitmap of permissions at the end of each classname, 1 = ADMIN, 2 = > RESOURCE_DOMAIN_ADMIN, 4 = DOMAIN_ADMIN, 8 = USER" > > However, throughout the file the undocumented numbers of 3, 7 and 15 > can be found. Can somebody explain what they mean? > > Looking within the RoleType enum only the following are defined: > > Admin = 1 > ResourceAdmin = 2 > Domain Admin = 4 > User = 8 > Unknown = 0 > > Thanks! > --047d7b5d533ac1763504e3575706--