# FIX: Make edit history viewable for category moderators in the certain catergory

**URL:** https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037
**Category:** Bug
**Tags:** category-moderators, review-queue, fixed
**Created:** [January 9, 2026, 7:19am UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037 "2026-01-09T07:19:01Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [January 9, 2026, 7:19am UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/1 "2026-01-09T07:19:01Z")

</div>

When category moderators use review panel and encounters an edited topic/post, the clicking on the edit-history button will result in a dialog showing invalid\_access.

[![image](https://global.discourse-cdn.com/meta/original/4X/0/b/c/0bcdb67a4d745e90c3a3423df0e219fe3391c4e6.png)](https://private-user-images.githubusercontent.com/77799160/533740301-4dda617b-6672-4b0c-a4fa-121a66a05308.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njc5NDMzNjYsIm5iZiI6MTc2Nzk0MzA2NiwicGF0aCI6Ii83Nzc5OTE2MC81MzM3NDAzMDEtNGRkYTYxN2ItNjY3Mi00YjBjLWE0ZmEtMTIxYTY2YTA1MzA4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTA5VDA3MTc0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiNDkwNTQ3NjBhZGQ5MzRhYjY3Mzg2YjY0MjNmZThhMjFlN2UzNzE1OGVlOWNmYjM0ZGU1NTJjZDRiYTc2NWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.yjX9SyE0r3PeM7wCwDyRZUV3MAJpcqfO5V9XDC7T-6c) [![image](https://global.discourse-cdn.com/meta/original/4X/9/3/8/938ed87a392da2faa9ad1f2154e6a103ff700dc4.png)](https://private-user-images.githubusercontent.com/77799160/533741360-4478b9c5-3766-4745-974a-73934e23b0dc.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Njc5NDMzNjYsIm5iZiI6MTc2Nzk0MzA2NiwicGF0aCI6Ii83Nzc5OTE2MC81MzM3NDEzNjAtNDQ3OGI5YzUtMzc2Ni00NzQ1LTk3NGEtNzM5MzRlMjNiMGRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTA5VDA3MTc0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1Y2YxYmY5ODczMmJhOWY1Yzk3Y2RiNGFmOGQwYTQxODk4OTZlZDZiMzE1OGFkNzU1NmI2ZjE0NWVkYmVkMWUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.zZX-Fn4nRuENcffl5v8IIRJyTQR_83YcNYKAn4MSNoQ)

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.

> <https://github.com/discourse/discourse/pull/37025>
>
> 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.

---

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [July 21, 2026, 8:41am UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/2 "2026-07-21T08:41:52Z")

</div>

It seems that this is stranding, this may be necessary for management of category moderators, any ideas about that?

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [July 21, 2026, 8:54am UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/3 "2026-07-21T08:54:07Z")

</div>

@sam I saw you already engaged with this PR originally, can we reopen it and get it merged afterall?

---

<div class="post-metadata">

### Author: ![small-lovely-cat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/small-lovely-cat/32/553546_2.png) [@small-lovely-cat](https://meta.discourse.org/u/small-lovely-cat)
#### Post date: [July 21, 2026, 12:30pm UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/4 "2026-07-21T12:30:06Z")

</div>

Seems that zog’s having a more completed version, but it is also closed, not so sure.

Maybe that is more suitable to get merged.

[https://github.com/discourse/discourse/pull/37876](https://github.com/discourse/discourse/pull/37876)

---

<div class="post-metadata">

### Author: ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)
#### Post date: [July 21, 2026, 12:30pm UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/5 "2026-07-21T12:30:48Z")

</div>

Oh interesting, summoning @zogstrip then for more intell

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [July 21, 2026, 2:16pm UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/6 "2026-07-21T14:16:37Z")

</div>

Sorry about that. That one fell through the cracks because there was a security issue touching the same code path and I didn’t want to generate noise in the process. I’ve re-opened the PR and updated it.

[https://github.com/discourse/discourse/pull/37876](https://github.com/discourse/discourse/pull/37876)

Will merge once it’s 🟢 and reviewed ✅.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 25, 2026, 2:18am UTC](https://meta.discourse.org/t/fix-make-edit-history-viewable-for-category-moderators-in-the-certain-catergory/393037/7 "2026-07-25T02:18:05Z")

</div>


