On #1, looking through the API, I don't really see any 'update' or
other calls besides create-type calls that provide account or and
domainid parameters. Calls that act upon existing resources don't seem
to provide these parameters.

On #2, this may be an oversight on the UI additions. The API
permissions should be on all levels. I believe the permissions used to
be handled by commands.properties.in, and the resize api call still
has permissions there to match the other volume commands (attach,
detach, create delete), all set to '15', which should mean that it
shows up on every permission level:

1 = ADMIN, 2 = RESOURCE_DOMAIN_ADMIN, 4 = DOMAIN_ADMIN, 8 = USER

If that's not the case, then maybe someone can help us out.  I know
some of this moved around in the API refactor and something may have
gotten lost. This should be a quick fix if that's the case, but my
initial hunch is that it's just a UI bug.


On Sun, May 5, 2013 at 11:16 PM, Sailaja Mada <sailaja.m...@citrix.com> wrote:
> Hi,
>
> This is regarding Resize Volume API. Is this allowed to ROOT Admin only?
>
> My observations :
>
>
> 1.       API does not have parameters as account/domain ID.  @ 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Resize+Data+Volumes
>
> 2.       UI- Resize option for data volumes is enabled only with ROOT admin 
> login
>
> Thanks,
> Sailaja.M

Reply via email to