Libor Spevak has uploaded a new change for review.

Change subject: webadmin: Remove irrelevant operations from UserVmManager role
......................................................................

webadmin: Remove irrelevant operations from UserVmManager role

Operations ActionGroup.MOVE_VM, ActionGroup.MIGRATE_VM are detached from 
UserVMManager role

Change-Id: I4e85bf9adce32e6f60cec02a036d8c7798aba8a0
Bug-Url: https://bugzilla.redhat.com/885132
Signed-off-by: Libor Spevak <lspe...@redhat.com>
---
A 
backend/manager/dbscripts/upgrade/03_02_0060_delete_actiongroups_uservmmanager.sql
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/56/10156/1

diff --git 
a/backend/manager/dbscripts/upgrade/03_02_0060_delete_actiongroups_uservmmanager.sql
 
b/backend/manager/dbscripts/upgrade/03_02_0060_delete_actiongroups_uservmmanager.sql
new file mode 100644
index 0000000..97995c0
--- /dev/null
+++ 
b/backend/manager/dbscripts/upgrade/03_02_0060_delete_actiongroups_uservmmanager.sql
@@ -0,0 +1,2 @@
+-- remove groups: ActionGroup.MOVE_VM, ActionGroup.MIGRATE_VM
+DELETE FROM ROLES_GROUPS RG WHERE RG.ROLE_ID = (SELECT ID FROM ROLES R WHERE 
R.NAME = 'UserVmManager') AND RG.ACTION_GROUP_ID IN (6,11);


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4e85bf9adce32e6f60cec02a036d8c7798aba8a0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Libor Spevak <lspe...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to