Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 5347a5bb authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files
parents c2ab3e3c e4a7ed0b
Branches bugfix/EDELIVERY-12927-fix-failed-tests
No related tags found
No related merge requests found
......@@ -87,4 +87,4 @@ insert into SMP_RESOURCE_MEMBER ( CREATED_ON, LAST_UPDATED_ON, MEMBERSHIP_ROLE,
-- the SMP Resource memberships
insert into SMP_RESOURCE_MEMBER ( CREATED_ON, LAST_UPDATED_ON, MEMBERSHIP_ROLE, FK_RESOURCE_ID, FK_USER_ID)
select NOW(), NOW(), 'ADMIN', ow.FK_SG_ID, usr.ID from BCK_USER usr JOIN BCK_OWNERSHIP ow ON ow.FK_USER_ID = usr.id where usr.ROLE='SERVICE_GROUP_ADMIN';
select NOW(), NOW(), 'ADMIN', sgd.ID, usr.ID from BCK_USER usr JOIN BCK_OWNERSHIP ow ON ow.FK_USER_ID = usr.id JOIN BCK_SERVICE_GROUP_DOMAIN sgd ON sgd.FK_SG_ID=ow.FK_SG_ID where usr.ROLE='SERVICE_GROUP_ADMIN';
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment