mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 04:48:33 +08:00
## 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. Co-authored-by: small-lovely-cat <77799160+small-lovely-cat@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| bookmark_guardian.rb | ||
| category_guardian.rb | ||
| ensure_magic.rb | ||
| flag_guardian.rb | ||
| group_guardian.rb | ||
| invite_guardian.rb | ||
| localization_guardian.rb | ||
| permalink_guardian.rb | ||
| post_guardian.rb | ||
| post_revision_guardian.rb | ||
| sidebar_guardian.rb | ||
| staff_action_log_guardian.rb | ||
| tag_guardian.rb | ||
| topic_guardian.rb | ||
| upload_guardian.rb | ||
| user_guardian.rb | ||