discourse-follow/app/models
discourse-patch-triage[bot] 3c3987b7a1
SECURITY: Follow feed exposes shared draft topic titles to followers [backport 2026.5] (#188)
Backport of #187 to d-compat/2026.5.

---

## Summary

Prevent the leakage of shared draft topic titles and post content in the follow feed by correctly filtering out topics with associated shared drafts for unauthorized users. The query now explicitly checks the viewer's shared draft visibility before returning posts from followed users.

## Source

- Patch Triage: https://patch.discourse.org/patch-triage/1405

Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com>
2026-07-10 10:14:41 -05:00
..
follow_pages_visibility.rb DEV: Introduce syntax_tree for ruby formatting (#78) 2022-12-29 13:31:48 +01:00
user_follower.rb SECURITY: Follow feed exposes shared draft topic titles to followers [backport 2026.5] (#188) 2026-07-10 10:14:41 -05:00