Change in ovirt-engine[master]: core: Private templates can be used by any user to create VM...

Oved Ourfali has submitted this change and it was merged. Change subject: core: Private templates can be used by any user to create VMs (#849674) ...................................................................... core: Private templates can be used by any user to create VMs (#849674) https://bugzilla.redhat.com/849674 The User Portal shows in the new VM Dialog all the templates that the user has CREATE_VM action group on, regardless of whether the user can indeed see them or not. This patch changes it, showing only templates that: 1. The user can see, using the user_vm_templates_permission_view 2. The user can CREATE_VM on (the test we do today) Change-Id: I19ab3cde6febd1b6def3f7fedc82c83f56795ebe Signed-off-by: Oved Ourfali <oourfali@redhat.com> --- M backend/manager/dbscripts/vm_templates_sp.sql 1 file changed, 5 insertions(+), 3 deletions(-) Approvals: Oved Ourfali: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/7372 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I19ab3cde6febd1b6def3f7fedc82c83f56795ebe Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Yair Zaslavsky <yzaslavs@redhat.com>
participants (1)
-
oourfali@redhat.com