﻿------------------------------ Ali 2024-05-29 --------------------------------

  INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1345,NULL, NULL,N'Home',N'GetMedicalCare',N'Get')
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1629,1345,1376, NULL)
Go
------------------------------ End 2024-05-29 --------------------------------
--------------------------------------- AK 2024-05-27 ---------
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1332,NULL,NULL,N'RecruitJobCandidates',N'Candidates_Read',N'Post')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1333,NULL,NULL,N'RecruitJobCandidates',N'Post',N'Post')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPoints] ([Id],[ApiName],[AreaName],[ControllerName],[ActionName],[HTTPMethod]) VALUES (1334,NULL,NULL,N'RecruitJobCandidates',N'GetLstRecruitJobAnswer',N'Get')
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1616,1332,5054,NULL)
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1617,1333,5056,NULL)
GO
INSERT INTO [dbo].[SecurityPrivilegeEndPointsDetails]([Id],[SecurityPrivilegeEndPointId],[SecurityPrivilegeId],[RequestTypeId]) VALUES (1618,1334,5086,NULL)
GO
--------------------------------------- End AK 2024-05-27 ------------
---------------------------------------  MOstfa 2024-05-30 ------------

ALTER TABLE dbo.WF_FingerPrintType ADD
	IsAttachmentMandatory bit NOT NULL CONSTRAINT DF_WF_FingerPrintType_IsAttachmentMandatory DEFAULT ((0))
GO
--------------------------------------- End MOstfa 2024-05-30 ------------

--------------------------------------- Ali 2024-05-30 ------------

ALTER TABLE dbo.DocumentsTypes ADD
	ShowInNewHireRequest bit NOT NULL CONSTRAINT DF_DocumentsTypes_ShowInNewHireRequest DEFAULT ((1)),
	MandatoryInNewHireRequest bit NOT NULL CONSTRAINT DF_DocumentsTypes_MandatoryInNewHireRequest DEFAULT ((0))
GO
--------------------------------------- End  2024-05-30 ------------
---------------------------------------  MOstfa 2024-05-30 ------------

ALTER TABLE dbo.PenaltiesList ADD
	IsAttachmentMandatory bit NOT NULL CONSTRAINT DF_PenaltiesList_IsAttachmentMandatory DEFAULT ((0))
GO
--------------------------------------- End MOstfa 2024-05-30 ------------
--------------------------------------- Ali 2024-06-02 ------------

INSERT [dbo].[SystemMenu] ([SystemMenuCode], [Name], [Arabic_Name], [ParentID], [ControllerName], [ActionName], [ImageURL], [HTTPMethod], [Sequence], [IsVisible], [ShowInPrivilegePage])
VALUES(1087,N'Documents Types',N'أنواع الوثائق',28,N'/WorkFlow/DocumentType',N'Index','fa fa-hand-paper-o',N'get',33,1,1)
Go

INSERT[dbo].[SystemMenuModule]( [SystemMenuCode], [AppModuleCode]) VALUES(1087,1)
Go

INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(15475,N'أنواع الوثائق',N'Documents Types',1087,1)
INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(15476,N'عرض أنواع الوثائق',N'View Documents Types',1087,2)
INSERT[dbo].[SecurityPrivilege]([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType]) VALUES(15477,N'حفظ أنواع الوثائق',N'Save Documents Types',1087,2)
Go

INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1928,N'WorkFlow',N'DocumentType',N'Index',0,N'get',15475)

INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1929,N'WorkFlow',N'DocumentType',N'DocumentType_Read',0,N'post',15476)

INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1930,N'WorkFlow',N'DocumentType',N'Save',0,N'post',15477)


INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1346,NULL, NULL,N'DocumentType',N'GetGridDocumentsTypes',N'Get')
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1347,NULL, NULL,N'DocumentType',N'GetDocumentType',N'Get')
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1348,NULL, NULL,N'DocumentType',N'post',N'post')
Go


INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1630,1346,15476, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1631,1347,15476, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1632,1348,15477, NULL)
Go
--------------------------------------- End 2024-06-02 ------------
--------------------------------------- Hammad 2024-06-02 ---------
INSERT [dbo].[SecurityPrivilege] ([ID], [DescriptionAR], [DescriptionEN], [SystemMenuCode], [PrivilegeType])
VALUES (1423, N'إمكانية تغير مجموعة المستخدم   ', N'Can Change User Group', 6, 2)
GO
--------------------------------------- End 2024-06-02 ---------
--------------------------------------- Ali 2024-06-03 ---------
update [SecurityPrivilegeEndPointsDetails] set [SecurityPrivilegeId]= 3966 where [Id]=1592
Go
--------------------------------------- End 2024-06-03 ---------
----------------------------------------M.Negm 2024-06-03 ---------------------
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1931,N'WorkFlow',N'TrackApi',N'Index',0,N'get',3006)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1932,N'WorkFlow',N'TrackApi',N'Track_Read',0,N'post',3007)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1933,N'WorkFlow',N'TrackApi',N'Save',1,N'get',3008)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1934,N'WorkFlow',N'TrackApi',N'Save',2,N'get',3009)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1935,N'WorkFlow',N'TrackApi',N'Delete',0,N'post',3010)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1936,N'WorkFlow',N'TrackApi',N'Save',0,N'post',3011)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1937,N'WorkFlow',N'TrackApi',N'CheckTrackOptions',0,N'post',3011)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1938,N'WorkFlow',N'TrackApi',N'CopyTrack',0,N'post',15451)
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1349,NULL, NULL,N'WfTrack',N'GetWfTrackSearch',N'post')
Go																									
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1350,NULL, NULL,N'WfTrack',N'Put',N'Put')
Go																													
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1351,NULL, NULL,N'WfTrack',N'post',N'post')
Go																													
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1352,NULL, NULL,N'WfTrack',N'Delete',N'Delete')
Go																													
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1353,NULL, NULL,N'WfTrack',N'Get',N'Get')
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1354,NULL, NULL,N'WfTrack',N'CopyTrack',N'post')
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1355,NULL, NULL,N'WfTrack',N'CheckTrackOptions',N'post')
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1633,1349,3007, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1634,1350,3011, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1635,1351,3011, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1636,1352,3010, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1637,1354,15451, NULL)
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId])
VALUES(1638,1355,3011, NULL)
Go
--------------------------------------- End 2024-06-03 ------------------------
--------------------------------------- MOstafa 2024-06-04 ------------------------
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1917,N'WorkFlow',N'RequestTypeAPi',N'Index',0,N'get',3000)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1918,N'WorkFlow',N'RequestTypeAPi',N'RequestType_Read',0,N'post',3001)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1919,N'WorkFlow',N'RequestTypeAPi',N'Save',1,N'get',3002)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1920,N'WorkFlow',N'RequestTypeAPi',N'Save',2,N'get',3003)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1921,N'WorkFlow',N'RequestTypeAPi',N'Delete',0,N'post',3004)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1922,N'WorkFlow',N'RequestTypeAPi',N'Save',0,N'post',3005)
GO
--Requests Settings
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1923,N'WorkFlow',N'RequestTypeAPi',N'RequestsSettings',0,N'get',3161)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1924,N'WorkFlow',N'RequestTypeAPi',N'RequestsSettings_Read',1,N'get',3162)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1925,N'WorkFlow',N'RequestTypeAPi',N'SaveRequestsSettings',0,N'post',3163)
GO
--Requests Settings
--SendNotification Email Setup
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1926,N'WorkFlow',N'RequestTypeAPi',N'SendNotificationEmailSetup',1,N'get',3451)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1927,N'WorkFlow',N'RequestTypeAPi',N'SendNotificationEmailSetup',0,N'post',3452)
GO
--Send Notification Email Setup
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1335,NULL, NULL,N'RequestType',N'GetRequestTypeSearch',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1336,NULL, NULL,N'RequestType',N'GetRequestTypes',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1337,NULL, NULL,N'RequestType',N'Put',N'Put')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1338,NULL, NULL,N'RequestType',N'post',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1339,NULL, NULL,N'RequestType',N'Delete',N'Delete')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1340,NULL, NULL,N'RequestType',N'Get',N'Get')
GO
--Requests Settings
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1341,NULL, NULL,N'RequestType',N'GetRequestsSettings',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1342,NULL, NULL,N'RequestType',N'SaveRequestsSettings',N'post')
GO
--Requests Settings
--SendNotification Email Setup
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1343,NULL, NULL,N'RequestType',N'SendNotificationEmailSetup',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1344,NULL, NULL,N'RequestType',N'SaveSendNotificationEmailSetup',N'post')
GO
--SendNotification Email Setup
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1619,1335,3001, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1620,1336,3001, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1621,1337,3005, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1622,1338,3005, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1623,1339,3004, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1624,1340,3003, NULL)
GO
--Requests Settings
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1625,1341,3162, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1626,1342,3163, NULL)
GO
--Requests Settings
--SendNotification Email Setup
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1627,1343,3451, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1628,1344,3452, NULL)
GO
--SendNotification Email Setup
ALTER TABLE dbo.WF_KeepingTypes ADD
	[CreatedBy] [int] NOT NULL DEFAULT ((1)) ,
	[CreationDate] [datetime] NOT NULL  DEFAULT (getdate()),
	[ModificationDate] [datetime] NULL,
	[ModifiedBy] [int] NULL
GO

UPDATE WF_KeepingTypes SET CreatedBy = 1 WHERE CreatedBy IS NULL OR CreatedBy = 0;
GO
UPDATE WF_KeepingTypes SET CreationDate = GETDATE() WHERE CreationDate IS NULL;
GO
--------------------------------------- end 2024-06-04 ------------------------
--------------------------------------- Ali 2024-06-04 ------------------------
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1939,N'BasicData',N'ContractShowConfiguration',N'Index',0,N'get',1385)
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1940,N'BasicData',N'ContractShowConfiguration',N'ContractShowConfiguration_Read',0,N'post',1385)
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1941,N'BasicData',N'ContractShowConfiguration',N'Save',0,N'post',1386)
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1357,NULL, NULL,N'ContractConfiguration',N'GetGraidContractConfigurations',N'Get')
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1358,NULL, NULL,N'ContractConfiguration',N'GetContractConfiguration',N'Get')
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1359,NULL, NULL,N'ContractConfiguration',N'post',N'post')
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1640,1357,1385, NULL)
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1641,1358,1385, NULL)
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1642,1359,1386, NULL)
Go


INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1942,N'BasicData',N'ContractShowConfiguration',N'SaveProjectContracts',0,N'post',15474)
Go
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1361,NULL, NULL,N'ContractConfiguration',N'SaveProjectContracts',N'post')
Go
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1644,1361,15474, NULL)
Go
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1943,N'BasicData',N'ContractShowConfiguration',N'SaveProjectContracts',2,N'Get',15474)
Go
--------------------------------------- End 2024-06-04 ------------------------
--------------------------------------- Mostafa 2024-06-04 ------------------------

INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1944,N'WorkFlow',N'KeepingType',N'Index',0,N'get',3353)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1945,N'WorkFlow',N'KeepingType',N'KeepingType_Read',0,N'post',3354)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1946,N'WorkFlow',N'KeepingType',N'Save',1,N'get',3355)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1947,N'WorkFlow',N'KeepingType',N'Save',2,N'get',3356)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1948,N'WorkFlow',N'KeepingType',N'Delete',0,N'post',3357)
GO
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) VALUES(1949,N'WorkFlow',N'KeepingType',N'Save',0,N'post',3358)
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1362,NULL, NULL,N'KeepingType',N'GetKeepingTypeSearch',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1363,NULL, NULL,N'KeepingType',N'GetKeepingType',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1364,NULL, NULL,N'KeepingType',N'Put',N'Put')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1365,NULL, NULL,N'KeepingType',N'post',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1366,NULL, NULL,N'KeepingType',N'Delete',N'Delete')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] ([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod]) VALUES(1367,NULL, NULL,N'KeepingType',N'Get',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1645,1362,3354, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1646,1363,3354, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1647,1364,3358, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1648,1365,3358, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1649,1366,3357, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails] ([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1650,1367,3356, NULL)
GO
--------------------------------------- End 2024-06-04 ------------------------
---------------------