Skip to content

Commit 466691f

Browse files
authored
Finish feature/OTC-66
Feature/otc 66
2 parents 941821f + 84407e8 commit 466691f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

510 Bytes
Binary file not shown.

Migration script/openIMIS migration latest.sql

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,6 +1398,18 @@ BEGIN
13981398
END
13991399
GO
14001400

1401+
-- OTC-66: User roles: Add Renewal Upload right to Scheme Administrator role
1402+
1403+
DECLARE @SystemRole INT
1404+
SELECT @SystemRole = role.RoleID from tblRole role where IsSystem=32;
1405+
1406+
IF NOT EXISTS (SELECT * FROM [tblRoleRight] WHERE [RoleID] = @SystemRole AND [RightID] = 131107)
1407+
BEGIN
1408+
INSERT [dbo].[tblRoleRight] ([RoleID], [RightID], [ValidityFrom], [ValidityTo], [AuditUserId], [LegacyID])
1409+
VALUES (@SystemRole, 131107, CURRENT_TIMESTAMP, NULL, NULL, NULL)
1410+
END
1411+
GO
1412+
14011413
-- OP-278: The system role Claim Administrator role doesn't have the required rights
14021414
DECLARE @SystemRole INT
14031415
SELECT @SystemRole = role.RoleID from tblRole role where IsSystem=256;

0 commit comments

Comments
 (0)