Tal Nisan has submitted this change and it was merged.
Change subject: core: AddVmCommand allows InstanceCreator role to create VM
......................................................................
core: AddVmCommand allows InstanceCreator role to create VM
It fixes the bug when user with InstaceCreator role permissions on
VM template and Cluster was not able to create a VM from userportal
because AddVmCommand did not respected ActionGroup.CREATE_INSTANCE in
combination with VdcObjectType.VmTemplate.
Change-Id: I8ddafbbb96d8d38a964b6b855cc9163ebfda5cda
Bug-Url:
https://bugzilla.redhat.com/1278271
Signed-off-by: Jakub Niedermertl <jniederm(a)redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
1 file changed, 27 insertions(+), 9 deletions(-)
Approvals:
Jakub Niedermertl: Verified
Jenkins CI: Passed CI tests
Arik Hadas: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/48996
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8ddafbbb96d8d38a964b6b855cc9163ebfda5cda
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.6
Gerrit-Owner: Jakub Niedermertl <jniederm(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>