﻿
----------------------------------- M.Negm 2024-08-08 ----------------------------------------
 update SecurityPrivilegeEndPointsDetails  set RequestTypeId = 61 where Id = 990
 Go 

  INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) 
  VALUES(2029,N'WorkFlow',N'AssignmentRequest',N'Cancel',0,N'post',15351)
Go

------------------------------------- End 2024-08-08 -----------------------------------------
----------------------------------- M.Negm 2024-08-14 ----------------------------------------
update [SecurityPrivilegeActions] set SecurityPrivilegeID = 3485 where id = 1825
 go 
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1867,N'WorkFlow',N'CostCenter',N'Index',0,N'get',3595)
GO
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1868,N'WorkFlow',N'CostCenter',N'CostCenter_Read',0,N'post',3596)
GO
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1869,N'WorkFlow',N'CostCenter',N'Save',1,N'get',3597)
GO
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1870,N'WorkFlow',N'CostCenter',N'Save',2,N'get',3598)
GO
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1871,N'WorkFlow',N'CostCenter',N'Delete',0,N'post',3599)
GO
INSERT [dbo].[SecurityPrivilegeActions] 
([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID])
VALUES(1872,N'WorkFlow',N'CostCenter',N'Save',0,N'post',3600)
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1279,NULL, NULL,N'CostCenter',N'GetCostCenterSearch',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1280,NULL, NULL,N'CostCenter',N'GetCostCenter',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1281,NULL, NULL,N'CostCenter',N'Put',N'Put')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1282,NULL, NULL,N'CostCenter',N'post',N'post')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1283,NULL, NULL,N'CostCenter',N'Delete',N'Delete')
GO
INSERT [dbo].[SecurityPrivilegeEndPoints] 
([Id], [ApiName], [AreaName], [ControllerName], [ActionName], [HTTPMethod])
VALUES(1284,NULL, NULL,N'CostCenter',N'Get',N'Get')
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1555,1279,3596, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1556,1280,3596, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1557,1281,3600, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1558,1282,3600, NULL)
GO

INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1559,1283,3599, NULL)
GO
INSERT [dbo].[SecurityPrivilegeEndPointsDetails]
([Id], [SecurityPrivilegeEndPointId], [SecurityPrivilegeId], [RequestTypeId]) VALUES(1560,1284,3598, NULL)
GO

update [SecurityPrivilegeEndPoints] set ApiName = N'WorkFlow' where id in (1238, 1239,1240,1241,1242,1243)
Go
update [SecurityPrivilegeEndPoints] set ApiName = N'Personal' where id in (1146,1147,1148,1149,1150,1151)
Go

------------------------------------- End 2024-08-15 -----------------------------------------
------------------------------------- Mostafa 2024-08-15 -----------------------------------------
INSERT [dbo].[SecurityPrivilegeActions] ([ID], [AreaName], [ControllerName], [ActionName], [ActionType], [HTTPMethod], [SecurityPrivilegeID]) 
  VALUES(2030,N'WorkFlow',N'ManpowerBudgetRequest',N'Cancel',0,N'post',15494)
Go
------------------------------------- End 2024-08-14 -----------------------------------------
------------------------------------- Hammad 2024-08-15 -------------------------------------
INSERT [dbo].[LabelsName] ([LabelKey], [Name], [Arabic_Name]) VALUES (N'AppEvaluationPeriod', N'Evaluation Period', N'فترة التقيم')
GO
------------------------------------- End 2024-08-15 -----------------------------------------