Oved Ourfali has uploaded a new change for review.

Change subject: core: using user_disk_permissions_view in get vm disks
......................................................................

core: using user_disk_permissions_view in get vm disks

This patch uses user_disk_permissions_view in addition to the 
user_vm_permissions view, when
querying for user's VM disks.
The result is that when querying for VM/Template disks, you'll get the
disks you have permissions on, or, if you don't have direct permissions on the
disks, but you do have permissions on the VM/Template, then you'll see
them as well.

Also, adding the permissions on disks on VMs you have permissions on the
templates that those VMs were created from.

Change-Id: I46608ffd60cd2f60af8a23c85776ac6cb92f3c25
Signed-off-by: Oved Ourfali <oourf...@redhat.com>
---
M backend/manager/dbscripts/all_disks_sp.sql
M backend/manager/dbscripts/create_views.sql
2 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/95/5395/1
--
To view, visit http://gerrit.ovirt.org/5395
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I46608ffd60cd2f60af8a23c85776ac6cb92f3c25
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourf...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to