mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 04:02:30 +08:00
Backport of #42235 to release/2026.1. --- Previously, the profile feature-topic endpoint returned different responses for missing topics and existing topics the requester could not access, revealing whether a topic record existed. This change checks topic visibility before feature eligibility, returning a not-found response for both missing and inaccessible topics. Relates to this patch: https://patch.discourse.org/patch-triage/1350 Co-authored-by: Gabriel Grubba <gabriel@discourse.org> |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||