Change in ovirt-engine[master]: core: Explicit permission when adding a template

oourfali at redhat.com oourfali at redhat.com
Mon Jun 18 11:01:40 UTC 2012


Oved Ourfali has submitted this change and it was merged.

Change subject: core: Explicit permission when adding a template
......................................................................


core: Explicit permission when adding a template

When creating a new VM Template, its owner should be given
TEMPLATE_OWNER role on it (a new USER role, also defined in this
patch), so he can adminster it.

Change-Id: I7885c03a09c9315fd8eb2f554bc266250fa7e181
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
A backend/manager/dbscripts/upgrade/03_01_1240_add_template_owner_role.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/PredefinedRoles.java
3 files changed, 46 insertions(+), 7 deletions(-)

Approvals:
  Oved Ourfali: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7885c03a09c9315fd8eb2f554bc266250fa7e181
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Asaf Shakarchi <asaf at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Itamar Heim <iheim at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list