Oved Ourfali has uploaded a new change for review. Change subject: core: adding CREATE_VM action group to VmPoolAdmin (#857873) ......................................................................
core: adding CREATE_VM action group to VmPoolAdmin (#857873) https://bugzilla.redhat.com/show_bug.cgi?id=857873 Adding the CREATE_VM action group to VmPoolAdmin, to allow pool admins to edit/create VM pools. Change-Id: I4cfe1aa2bba52cb2aa1bfaf955f661808bbf72c2 Signed-off-by: Oved Ourfali <[email protected]> --- A backend/manager/dbscripts/upgrade/03_01_1420_add_create_vm_to_vm_pool_admin.sql 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/36/8136/1 diff --git a/backend/manager/dbscripts/upgrade/03_01_1420_add_create_vm_to_vm_pool_admin.sql b/backend/manager/dbscripts/upgrade/03_01_1420_add_create_vm_to_vm_pool_admin.sql new file mode 100644 index 0000000..47656de --- /dev/null +++ b/backend/manager/dbscripts/upgrade/03_01_1420_add_create_vm_to_vm_pool_admin.sql @@ -0,0 +1,8 @@ +INSERT INTO roles_groups(role_id,action_group_id) + select 'DEF00007-0000-0000-0000-DEF000000007', -- VMPoolAdmin + 1 -- CREATE_VM ActionGroup + where not exists ( + select * from roles_groups + where role_id='DEF00007-0000-0000-0000-DEF000000007' and action_group_id=1 + ); + -- To view, visit http://gerrit.ovirt.org/8136 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4cfe1aa2bba52cb2aa1bfaf955f661808bbf72c2 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Oved Ourfali <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
