From 6285c7320e42ad90643435e9ff12c3a02a46cb09 Mon Sep 17 00:00:00 2001 From: gozareshgir Date: Tue, 27 Jan 2026 14:05:20 +0330 Subject: [PATCH] New PermissionCode to ProgramManager --- .../Constants/ProgramManagerPermissionCode.cs | 33 ++++++++- .../Pages/Accounts/Account/CreateRole.cshtml | 45 ++++++++++++- .../Pages/Accounts/Account/EditRole.cshtml | 67 +++++++++++++++---- 3 files changed, 128 insertions(+), 17 deletions(-) diff --git a/ProgramManager/src/Application/GozareshgirProgramManager.Application/_Common/Constants/ProgramManagerPermissionCode.cs b/ProgramManager/src/Application/GozareshgirProgramManager.Application/_Common/Constants/ProgramManagerPermissionCode.cs index bd4230c3..7c71e909 100644 --- a/ProgramManager/src/Application/GozareshgirProgramManager.Application/_Common/Constants/ProgramManagerPermissionCode.cs +++ b/ProgramManager/src/Application/GozareshgirProgramManager.Application/_Common/Constants/ProgramManagerPermissionCode.cs @@ -149,6 +149,22 @@ public static class ProgramManagerPermissionCode { public const int Code = 990111; } + + /// + /// اولویت بندی + /// + public static class Priority + { + public const int Code = 990112; + } + + /// + /// ایجاد تسک باگ + /// + public static class CreateBug + { + public const int Code = 990113; + } } #endregion @@ -226,11 +242,26 @@ public static class ProgramManagerPermissionCode { public const int Code = 990208; } + + /// + /// رد با تایید اتمام اجرا + /// + public static class RejectOrApproveTaskComplete + { + public const int Code = 990209; + } + } + + #endregion + + #region Workflow[تب کارپوشه] + public static class Workflow + { + public const int Code = 9903; } #endregion - public static Dictionary GetAllCodes() { var result = new Dictionary(); diff --git a/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml b/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml index 5172224a..0dbf4b3c 100644 --- a/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Accounts/Account/CreateRole.cshtml @@ -1216,10 +1216,31 @@ - + + + +
+ + + + +
+ + +
+ + + + +
+ @@ -1310,8 +1331,28 @@ - + + +
+ + + +
+ + + + +
+ + + + +
diff --git a/ServiceHost/Areas/Admin/Pages/Accounts/Account/EditRole.cshtml b/ServiceHost/Areas/Admin/Pages/Accounts/Account/EditRole.cshtml index f7193980..10f6af58 100644 --- a/ServiceHost/Areas/Admin/Pages/Accounts/Account/EditRole.cshtml +++ b/ServiceHost/Areas/Admin/Pages/Accounts/Account/EditRole.cshtml @@ -1202,15 +1202,35 @@ -
- - +
+ + -
-
+ + + +
+ + + + +
+ + +
+ + + + +
+ @@ -1292,17 +1312,36 @@ -
- - +
+ + -
+
+ + +
+ + + + +
+ + + +
+ + + +
-