fix: require feedback on post rejection, post-specific review text, show superadmins in team list
All checks were successful
Deploy / deploy (push) Successful in 11s

- Reject requires feedback on both client and server (400 if empty)
- PublicPostReview uses post-specific i18n keys instead of artefact ones
- Team list always includes superadmins/managers for non-superadmin users

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fahed
2026-03-05 15:24:48 +03:00
parent 0e948cbf37
commit 93956ff117
4 changed files with 27 additions and 6 deletions

View File

@@ -902,5 +902,11 @@
"posts.submitForReview": "إرسال للمراجعة",
"posts.schedulePost": "جدولة المنشور",
"review.postReview": "مراجعة المنشور",
"review.createdBy": "أنشئ بواسطة"
"review.createdBy": "أنشئ بواسطة",
"review.confirmApprovePost": "الموافقة على هذا المنشور؟",
"review.confirmRejectPost": "رفض هذا المنشور؟",
"review.confirmApprovePostDesc": "هل أنت متأكد من الموافقة على هذا المنشور؟",
"review.confirmRejectPostDesc": "هل أنت متأكد من رفض هذا المنشور؟ يرجى تقديم ملاحظات توضح السبب.",
"review.feedbackRequired": "الملاحظات (مطلوبة)",
"review.feedbackRequiredError": "يرجى تقديم ملاحظات عند الرفض"
}