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

David Lutterkort lutter at redhat.com
Wed Dec 10 23:55:38 UTC 2008


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




More information about the ovirt-devel mailing list