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

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 image

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 Likes

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

2 Likes

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

2 Likes

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

Oh interesting, summoning @zogstrip then for more intell

1 Like

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

Will merge once it’s :green_circle: and reviewed :white_check_mark:.

2 Likes