Change in ovirt-engine[master]: core: template can't be seen by user

yzaslavs at redhat.com yzaslavs at redhat.com
Wed Mar 20 14:06:09 UTC 2013


Yair Zaslavsky has submitted this change and it was merged.

Change subject: core: template can't be seen by user
......................................................................


core: template can't be seen by user

The user_vm_template_permissions_view_base has a bug -
for the case user has permission on data center it returns the vmt_guid
as the entity id - but for templates - vmt_guid is zero guid.
What should be returned is the vm_guid (which is the template id)

Bug-Url: https://bugzilla.redhat.com/921450
Change-Id: I624eb8724da81bbffe0c4db973f67800c2593e3b
Signed-off-by: Yair Zaslavsky <yzaslavs at redhat.com>
---
M backend/manager/dbscripts/create_views.sql
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Yair Zaslavsky: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I624eb8724da81bbffe0c4db973f67800c2593e3b
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list