mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 07:23:30 +08:00
## Summary Correctly enforce profile visibility restrictions in the subscriptions contributors endpoint and user serializers. This prevents the exposure of sensitive profile fields—including bio, location, and website—to anonymous viewers when public profiles are disabled via site settings. The fix also hardens the user and user card serializers to omit profile details for unauthorized scopes as a defense-in-depth measure. ## Source - Patch Triage: https://patch.discourse.org/patch-triage/1286 Co-authored-by: discourse-patch-triage <272280883+discourse-patch-triage[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| controllers | ||
| jobs | ||
| models/discourse_subscriptions | ||
| serializers/discourse_subscriptions | ||
| services/discourse_subscriptions | ||