Change in ovirt-engine[master]: core: using user_disk_permissions_view in get vm disks

oourfali at redhat.com oourfali at redhat.com
Mon Jun 18 11:09:32 UTC 2012


Oved Ourfali has submitted this change and it was merged.

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 instead of 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, either directly or inheritable.

Also, changing the user_disk_permissions_view to use the
user_vm/template_permissions view.

Change-Id: I46608ffd60cd2f60af8a23c85776ac6cb92f3c25
Signed-off-by: Oved Ourfali <oourfali at redhat.com>
---
M backend/manager/dbscripts/all_disks_sp.sql
M backend/manager/dbscripts/create_views.sql
2 files changed, 10 insertions(+), 10 deletions(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/5395
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I46608ffd60cd2f60af8a23c85776ac6cb92f3c25
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>



More information about the Engine-commits mailing list