You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Paul Sanders <pa...@gmail.com> on 2013/03/04 17:47:57 UTC

Security Roles

Hi All,

Is it possible to fine tune user permissions within CloudStack? I know we
have a 'user role', but I would like to remove some of the features
(template management for example).

Thanks
---
Kind Regards

Paul Sanders
Mail: paul.sanders87@googlemail.com

Re: Security Roles

Posted by Chip Childers <ch...@sungard.com>.
On Mon, Mar 18, 2013 at 11:08:01AM +0000, Fuchs, Andreas (SwissTXT) wrote:
> How is the correct process of changing permission in /etc/cloud/management/commands.properties ?
> Change the file and restart cloudstack-management or must I do this via an API call?

Change the file on all management servers, and restart them.

RE: Security Roles

Posted by "Fuchs, Andreas (SwissTXT)" <An...@swisstxt.ch>.
How is the correct process of changing permission in /etc/cloud/management/commands.properties ?
Change the file and restart cloudstack-management or must I do this via an API call?

Regards
Andi

-----Original Message-----
From: Chip Childers [mailto:chip.childers@sungard.com] 
Sent: Montag, 4. März 2013 17:57
To: cloudstack-users@incubator.apache.org
Subject: Re: Security Roles

On Mon, Mar 04, 2013 at 04:47:57PM +0000, Paul Sanders wrote:
> Hi All,
> 
> Is it possible to fine tune user permissions within CloudStack? I know 
> we have a 'user role', but I would like to remove some of the features 
> (template management for example).
> 
> Thanks
> ---
> Kind Regards
> 
> Paul Sanders
> Mail: paul.sanders87@googlemail.com

Check the file commands.properties.  Each command has an int value assigned, which is a bitmap telling the API server what ACL to apply to the command execution itself.

-chip

Re: Security Roles

Posted by Chip Childers <ch...@sungard.com>.
On Mon, Mar 04, 2013 at 05:02:46PM +0000, Paul Sanders wrote:
> Thanks Chip.
> 
> So I take it a bitmap of 15 means everyone can run that command?:
> 
> registerTemplate=com.cloud.api.commands.RegisterTemplateCmd;15

Exactly right.

-chip

Re: Security Roles

Posted by Rohit Yadav <bh...@apache.org>.
On Mon, Mar 4, 2013 at 10:32 PM, Paul Sanders <pa...@gmail.com> wrote:
> Thanks Chip.
>
> So I take it a bitmap of 15 means everyone can run that command?:
>
> registerTemplate=com.cloud.api.commands.RegisterTemplateCmd;15

Paul, while the above syntax is backward compatible starting 4.1
CloudStack figures the apiname and package/class name automatically so
you just defined define apiname and ACL as:
registerTemplate=15

Regards.

>
>
>
> ---
> Kind Regards
>
> Paul Sanders
> Mob: 07988 725 883
> Mail: paul.sanders87@googlemail.com
>
>
> On 4 March 2013 16:56, Chip Childers <ch...@sungard.com> wrote:
>
>> On Mon, Mar 04, 2013 at 04:47:57PM +0000, Paul Sanders wrote:
>> > Hi All,
>> >
>> > Is it possible to fine tune user permissions within CloudStack? I know we
>> > have a 'user role', but I would like to remove some of the features
>> > (template management for example).
>> >
>> > Thanks
>> > ---
>> > Kind Regards
>> >
>> > Paul Sanders
>> > Mail: paul.sanders87@googlemail.com
>>
>> Check the file commands.properties.  Each command has an int value
>> assigned, which is a bitmap telling the API server what ACL to apply to
>> the command execution itself.
>>
>> -chip
>>

Re: Security Roles

Posted by Paul Sanders <pa...@gmail.com>.
Thanks Chip.

So I take it a bitmap of 15 means everyone can run that command?:

registerTemplate=com.cloud.api.commands.RegisterTemplateCmd;15



---
Kind Regards

Paul Sanders
Mob: 07988 725 883
Mail: paul.sanders87@googlemail.com


On 4 March 2013 16:56, Chip Childers <ch...@sungard.com> wrote:

> On Mon, Mar 04, 2013 at 04:47:57PM +0000, Paul Sanders wrote:
> > Hi All,
> >
> > Is it possible to fine tune user permissions within CloudStack? I know we
> > have a 'user role', but I would like to remove some of the features
> > (template management for example).
> >
> > Thanks
> > ---
> > Kind Regards
> >
> > Paul Sanders
> > Mail: paul.sanders87@googlemail.com
>
> Check the file commands.properties.  Each command has an int value
> assigned, which is a bitmap telling the API server what ACL to apply to
> the command execution itself.
>
> -chip
>

Re: Security Roles

Posted by Chip Childers <ch...@sungard.com>.
On Mon, Mar 04, 2013 at 04:47:57PM +0000, Paul Sanders wrote:
> Hi All,
> 
> Is it possible to fine tune user permissions within CloudStack? I know we
> have a 'user role', but I would like to remove some of the features
> (template management for example).
> 
> Thanks
> ---
> Kind Regards
> 
> Paul Sanders
> Mail: paul.sanders87@googlemail.com

Check the file commands.properties.  Each command has an int value
assigned, which is a bitmap telling the API server what ACL to apply to
the command execution itself.

-chip