feat(auth): trusted senders table and API
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
cc0adcd94d
commit
b536ed13e7
16 files changed
+20820
No files matched your search
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"version": 1,
|
||||
"bugs": [
|
||||
{
|
||||
"error_message": "Email layout flattened: width/height/colspan/align/bgcolor stripped; background images never restored after 'show images'",
|
||||
"root_cause": "Custom DOMPurify ALLOWED_URI_REGEXP replaced the default that accepts non-URL values, so every non-URL attribute was rejected; blockRemoteImages deleted url()/background irreversibly",
|
||||
"fix": "Added DOMPurify's default non-URL alternatives to the regexp; block/unblock now rewrite backgrounds reversibly (lm-blocked- scheme, data-blocked-background)",
|
||||
"tags": [
|
||||
"webmail",
|
||||
"sanitizer",
|
||||
"dompurify",
|
||||
"remote-images"
|
||||
],
|
||||
"date": "2026-10-13"
|
||||
},
|
||||
{
|
||||
"error_message": "Domain admin dashboard showed server-wide totals (all domains, queue, DMARC, storage)",
|
||||
"root_cause": "dashboardStats, queueSummary, dmarcSummary, preflightSummary and the diagnostics queueByStatus took no AdminScope and queried every tenant; only listDomains/listMailboxes were scoped",
|
||||
"fix": "Each now takes the session's AdminScope; mailboxScope() reaches outbound_jobs/email_messages through mailboxes.domain_id; DMARC matches by domain_id or name. Covered by services/auth/src/adminScope.test.ts against a real Postgres",
|
||||
"tags": [
|
||||
"auth",
|
||||
"authz",
|
||||
"tenant-isolation",
|
||||
"dashboard"
|
||||
],
|
||||
"date": "2026-10-13"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user