Change in ovirt-engine[master]: core: AddVmCommand allows InstanceCreator role to create VM

ahadas at redhat.com ahadas at redhat.com
Tue Dec 1 07:32:17 UTC 2015


Arik Hadas 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 at 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/48832
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8ddafbbb96d8d38a964b6b855cc9163ebfda5cda
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list