cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alena Prokharchyk <Alena.Prokharc...@citrix.com>
Subject Re: domain admin can't update the resource limit through UI but can update through API - Is it a UI bug?
Date Wed, 27 Jun 2012 16:57:59 GMT
On 6/27/12 12:07 AM, "Deepti Dohare" <deepti.dohare@citrix.com> wrote:

>Hi,
>
>A domain admin can't update the resource limit  through UI but can update
>through API.
>
>API: Caller is domain admin
> url : 
>http://localhost:8080/client/api?command=updateResourceLimit&resourcetype=
>0&max=6&account=u1&domainid=2&apikey=_38ICSSeHVGAS10FjAZdd31zn4-QOfrMi-aEE
>YEJbNetVusB4mNjJtN2oP7vLeINiUKjvTCq7Sb5Bq5c7qmiyg&signature=qJiTs3UqOIGRct
>oTjFxhpY853oc%3d
>
>response:
><updateresourcelimitresponse
>cloud-stack-version="3.0.3.2012-06-26T07:02:29Z">
><resourcelimit>
><account>u1</account>
><domainid>b897c73d-bd43-4039-aa79-61cc5bd6e275</domainid>
><domain>D1</domain>
><resourcetype>0</resourcetype>
><max>6</max>
></resourcelimit>
></updateresourcelimitresponse>
>
>But in UI, there is no edit option for update resource limit, when a
>domain admin logs in.
>Is it a UI bug or is it by design?
>
>Thanks
>Deepti
>


We should add the following:

* in the domain admin UI, add option allowing domain admin to update
resource limits for his accounts.
* in the java code, make sure domain admin can't update resource limits
for himself; he can do it just for the accounts of his domain/subdomains.

-Alena.


Mime
View raw message