عندما يستخدم مشرفو الفئة لوحة المراجعة ويواجهون موضوعًا/منشورًا تم تعديله، فإن النقر على زر سجل التعديلات سيؤدي إلى ظهور مربع حوار يعرض invalid_access.
يتيح هذا الالتزام لمشرفي الفئة عرض سجل التعديلات في الفئة التي يشرفون عليها، وذلك لحل هذه المشكلة، بالإضافة إلى تغيير وصف الإعداد edit_history_visible_to_public لمطابقة هذا التغيير.
main ← small-lovely-cat:fix-edit-history
closed 02:15AM - 28 Apr 26 UTC
When category moderators use review panel and encounters an edited topic/post, t… he clicking on the edit-history button will result in a dialog showing invalid_access.
<img width="690" height="143" alt="image" src="https://github.com/user-attachments/assets/4dda617b-6672-4b0c-a4fa-121a66a05308" />
<img width="694" height="247" alt="image" src="https://github.com/user-attachments/assets/4478b9c5-3766-4745-974a-73934e23b0dc" />
This commit allows category moderators to view the edit-history in the certain category they moderate, so as to solve this problem, as well as changing the description for the setting `edit_history_visible_to_public` to match this change.
3 إعجابات
يبدو أن هذا يتعلق بالتعليق، وقد يكون ذلك ضروريًا لإدارة مشرفي الأقسام. هل لديك أي أفكار حول ذلك؟
إعجابَين (2)
@sam لقد رأيت أنك تفاعلت مع طلب الدمج هذا في الأصل، هل يمكننا إعادة فتحه ودمجه في النهاية؟
إعجابَين (2)
يبدو أن zog لديه نسخة أكثر اكتمالاً، لكنها أيضاً مغلقة، لذا لست متأكداً تماماً.
ربما يكون هذا الخيار أكثر ملاءمة للدمج.
main ← fix-edit-history-category-moderators
opened 08:36AM - 17 Feb 26 UTC
## Summary
- When `edit_history_visible_to_public` is disabled, category group … moderators using the review panel get an `invalid_access` error when viewing edit history for posts in their moderated categories
- Allows category group moderators to view edit history for posts in categories they moderate
- Updates the `edit_history_visible_to_public` setting description to reflect this change
- Adds guardian specs plus request specs verifying category group moderators can only view revisions in their moderated categories, and that hidden revisions remain staff-only (both on the revisions endpoints and the `?version=` post endpoint)
Based on #37025 by @small-lovely-cat.
chapoi
21 يوليو 2026، 12:30م
5
أوه، مثير للاهتمام، استدعاء @zogstrip للحصول على مزيد من المعلومات
إعجاب واحد (1)
أعتذر عن ذلك. لقد هُمل ذلك لأن هناك مشكلة أمنية كانت تتعلق بنفس مسار الكود، ولم أريد أن أتسبب في ضجيج إضافي خلال العملية. لقد أعدت فتح طلب الدمج (PR) وقمت بتحديثه.
main ← fix-edit-history-category-moderators
opened 08:36AM - 17 Feb 26 UTC
## Summary
- When `edit_history_visible_to_public` is disabled, category group … moderators using the review panel get an `invalid_access` error when viewing edit history for posts in their moderated categories
- Allows category group moderators to view edit history for posts in categories they moderate
- Updates the `edit_history_visible_to_public` setting description to reflect this change
- Adds guardian specs plus request specs verifying category group moderators can only view revisions in their moderated categories, and that hidden revisions remain staff-only (both on the revisions endpoints and the `?version=` post endpoint)
Based on #37025 by @small-lovely-cat.
سأقوم بدمجه بمجرد أن يصبح ويتم مراجعته .
إعجابَين (2)