cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramzi Youssefi <ryouss...@gmail.com>
Subject Re: listUsageRecord only for Admins? Why?
Date Thu, 16 Apr 2015 08:31:51 GMT
Thank you very much guys for your help!
This is very useful!

Regards,

On Wed, Apr 15, 2015 at 7:26 PM, Somesh Naidu <Somesh.Naidu@citrix.com>
wrote:

> As a workaround, we could just update the permissions for the API in the
> commands.properties to allow normal users to make that API call.
>
> Default Contents:
> #### usage commands
> generateUsageRecords=1
> *listUsageRecords=7*
> listUsageTypes=1
>
> Change it to:
> #### usage commands
> generateUsageRecords=1
> *listUsageRecords=15*
> listUsageTypes=1
>
> Somesh
> CloudPlatform Escalations
> Citrix Systems, Inc.
>
> -----Original Message-----
> From: Koushik Das [mailto:koushik.das@citrix.com]
> Sent: Wednesday, April 15, 2015 5:41 AM
> To: dev
> Subject: RE: listUsageRecord only for Admins? Why?
>
> Agree. I don't think it's possible currently. The listUsageRecords needs
> to be modified.
>
> -----Original Message-----
> From: Ramzi Youssefi [mailto:ryoussefi@gmail.com]
> Sent: Wednesday, 15 April 2015 13:28
> To: dev
> Subject: listUsageRecord only for Admins? Why?
>
> Hello developers!
>
> is there any reason why listUsageRecords api call is only limited to root
> and admin users?
> I think this use case is very common and it would be nice if clients can
> see their usage records in their projects.
> Is there any workaround for that?
>
> Best,
>
> --
> Ramzi Youssefi
> Görlitzer Str. 49
> 01099 Dresden, Germany.
> Cell: +49 173 1965465
> Email: ryoussefi@gmail.com
>



-- 
Ramzi Youssefi
Görlitzer Str. 49
01099 Dresden, Germany.
Cell: +49 173 1965465
Email: ryoussefi@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message