fix(mail): Apply enhanced privacy rules to activity notification emails#108177
fix(mail): Apply enhanced privacy rules to activity notification emails#108177
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| {% if enhanced_privacy %} | ||
| <div class="notice">Details about this issue are not shown in this notification since enhanced privacy | ||
| controls are enabled. For more details about this issue, <a href="{{ link }}">view this issue on Sentry</a>.</div> | ||
| {% endif %} |
There was a problem hiding this comment.
Duplicate privacy notice in user feedback emails
Low Severity
The new enhanced_privacy notice in generic.html (lines 55–58) sits outside {% block activity %} but inside {% block content %}. The new-user-feedback.html template extends generic.html and only overrides {% block activity %} — where it already renders its own privacy notice ("Details about this feedback are not shown…"). Because UserReportNotification.get_context() sets enhanced_privacy, both notices render, producing a duplicate privacy message in user feedback emails.
261b03d to
1a727f4
Compare
When enhanced_privacy is enabled, activity emails (regression, etc.) still leaked sensitive information via the preheader, text body, and subject line. Hide group details behind the enhanced_privacy flag. https://linear.app/getsentry/issue/RTC-736/apply-enhanced-security-email-rules-to-regression-emails
1a727f4 to
8a8d7e5
Compare


When enhanced_privacy is enabled, activity emails (regression, etc.) still leaked sensitive information via the preheader, text body, and subject line. Hide group details behind the enhanced_privacy flag.
https://linear.app/getsentry/issue/RTC-736/apply-enhanced-security-email-rules-to-regression-emails