mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +08:00
## Summary Authenticated users could submit read timings for topics hidden by category permissions, creating false read records and incrementing their post-read counter. Added a topic visibility guard (`find_visible_topic_from_topic_id`) to both the timing creation and deletion controller actions, so inaccessible topics return a 404 response and no timing state is mutated. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1499 Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||