refactor(hr): move Custom Roles from Settings into the HR section
CI/CD / CI · API (dotnet build + test) (push) Successful in 42s
CI/CD / CI · Admin API (dotnet build) (push) Successful in 29s
CI/CD / CI · Dashboard (tsc) (push) Successful in 1m8s
CI/CD / CI · Admin Web (tsc) (push) Successful in 39s
CI/CD / CI · Website (tsc) (push) Successful in 45s
CI/CD / CI · Koja (tsc) (push) Successful in 50s
CI/CD / Deploy · all services (push) Successful in 2m47s

Custom roles is staff governance, so it belongs with the team — added a "Roles &
permissions" tab to the HR screen (owner-only) rendering the existing
CustomRolesPanel, and removed the Settings → Team → Custom Roles leaf/group.
fa/en/ar label added.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-06-25 09:38:55 +03:30
parent eaf911e12c
commit aede5bfd97
6 changed files with 19 additions and 27 deletions
+2 -1
View File
@@ -438,7 +438,8 @@
"payroll": "الرواتب",
"access": "صلاحيات الفروع",
"credentials": "بيانات الدخول",
"team": "الموظفون"
"team": "الموظفون",
"roles": "الأدوار والصلاحيات"
},
"myAttendance": "حضوري",
"clockIn": "تسجيل دخول",
+2 -1
View File
@@ -457,7 +457,8 @@
"payroll": "Payroll",
"access": "Branch access",
"credentials": "Login credentials",
"team": "Team"
"team": "Team",
"roles": "Roles & permissions"
},
"myAttendance": "My attendance",
"clockIn": "Clock in",
+2 -1
View File
@@ -457,7 +457,8 @@
"payroll": "حقوق",
"access": "دسترسی شعب",
"credentials": "رمز ورود",
"team": "کارکنان"
"team": "کارکنان",
"roles": "نقش‌ها و دسترسی‌ها"
},
"myAttendance": "حضور من",
"clockIn": "ورود",