cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Duffy <...@ianduffy.ie>
Subject Re: Values within commands.properties.in
Date Fri, 02 Aug 2013 10:35:44 GMT
Cool, thanks Ilya. I should of spotted that!

On 2 August 2013 11:32, Musayev, Ilya <imusayev@webmd.net> wrote:
> Ian,
>
> You can combine numbers to get the specific permission, for example
>
> 15 is the sum of 1, 2, 4, and 8 - which also means everyone has access
> 3 is the sum of 1 and 2 and only admin and resource admin have access
>
> Regards
> ilya
>
> -----Original Message-----
> From: Ian Duffy [mailto:ian@ianduffy.ie]
> Sent: Friday, August 02, 2013 6:25 AM
> To: CloudStack Dev
> Subject: Values within commands.properties.in
>
> 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!
>

Mime
View raw message