[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Ovirt-devel] Re: [PATCH server] API: add a call to list VMs for a user



David Lutterkort wrote:
Going to the URL /vms will return a list of all the VM's for which the
current user has PRIV_VIEW permission. The VM info contains the host the VM
is running on (if any)

I am not too happy with the way the permission check is done, because it hardcodes a whole lot of knowledge about permissions in the wrong place- if anybody knows a better way to do that, please let me know.

David


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]