Change in ovirt-engine[master]: engine: fix instance types permissions

tjelinek at redhat.com tjelinek at redhat.com
Wed Apr 30 13:17:15 UTC 2014


Tomas Jelinek has submitted this change and it was merged.

Change subject: engine: fix instance types permissions
......................................................................


engine: fix instance types permissions

If the VM is created from instance type, the user needs to have either
create instance permission on the specific instance type or the proper
getActionType().getActionGroup() on it (either is OK).

Same comes for image type.

Change-Id: Ibf039b0ea2d4488e243416832703bfc6a55b7337
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmCommand.java
1 file changed, 32 insertions(+), 11 deletions(-)

Approvals:
  Tomas Jelinek: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibf039b0ea2d4488e243416832703bfc6a55b7337
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list