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(a)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(a)redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>