Shahar Havivi has uploaded a new change for review. Change subject: db: Template admin don't get permission to add permissions ......................................................................
db: Template admin don't get permission to add permissions in order to template admin to be able to add permission for users we need to give it manipulate-permissions and add-users-and-groups for manipulating active directory data Change-Id: Ib110c05f595bf87b89df1df56766137ffaef1fdc Bug-Url: https://bugzilla.redhat.com/1104233 Signed-off-by: Shahar Havivi <shah...@redhat.com> --- A packaging/dbscripts/upgrade/03_05_0620_add_manipulate_permissions_for_template_admin.sql 1 file changed, 12 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/66/28766/1 diff --git a/packaging/dbscripts/upgrade/03_05_0620_add_manipulate_permissions_for_template_admin.sql b/packaging/dbscripts/upgrade/03_05_0620_add_manipulate_permissions_for_template_admin.sql new file mode 100644 index 0000000..624a921 --- /dev/null +++ b/packaging/dbscripts/upgrade/03_05_0620_add_manipulate_permissions_for_template_admin.sql @@ -0,0 +1,12 @@ +-- MANIPULATE_PERMISSIONS = 502 +-- ADD_USERS_AND_GROUPS_FROM_DIRECTORY = 503 +-- TEMPLATE_ADMIN_ID = 'DEF00008-0000-0000-0000-DEF000000008' +-- +-- in order to template admin to be able to add permission for its template we need +-- to give it manipulate-permissions and add-users-and-groups for manipulating active +-- directory data + +INSERT INTO ROLES_GROUPS(role_id,action_group_id) + VALUES('DEF00008-0000-0000-0000-DEF000000008', 502); +INSERT INTO ROLES_GROUPS(role_id,action_group_id) + VALUES('DEF00008-0000-0000-0000-DEF000000008', 503); -- To view, visit http://gerrit.ovirt.org/28766 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib110c05f595bf87b89df1df56766137ffaef1fdc Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shahar Havivi <shav...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches