DLP on send: warnings, blocks and held mail in the composer #29

Merged
jcoffey-dev merged 1 commits from feature/dlp-dialogs into main 2026-09-29 01:55:55 +00:00
Owner

The webmail half of inbuxa DLP (spec §2.5, §4):

  • A DLP refusal (inbuxa:dlpWarning / inbuxa:dlpBlocked) reopens the draft with the rules' notices instead of a generic Send failed. A warning offers Send anyway…: a reason, then a resend with inbuxa:dlpOverride (recorded by the server). A block can only be answered by changing the message.
  • A held message says so on sending, from the submission's inbuxa:held (server #110).
  • Tests for the override and for telling refusals apart; all 1477 tests pass; typecheck clean.

Nine new English strings; other catalogs fall back to English until translated (i18n:check already fails on main for older stale keys, unchanged here).

The webmail half of inbuxa DLP (spec §2.5, §4): - A DLP refusal (`inbuxa:dlpWarning` / `inbuxa:dlpBlocked`) reopens the draft with the rules' notices instead of a generic Send failed. A warning offers **Send anyway…**: a reason, then a resend with `inbuxa:dlpOverride` (recorded by the server). A block can only be answered by changing the message. - A held message says so on sending, from the submission's `inbuxa:held` (server #110). - Tests for the override and for telling refusals apart; all 1477 tests pass; typecheck clean. Nine new English strings; other catalogs fall back to English until translated (i18n:check already fails on main for older stale keys, unchanged here).
jcoffey-dev added 1 commit 2026-09-29 01:52:05 +00:00
DLP on send: warnings, blocks and held mail in the composer
ci / version (pull_request) Skipped
ci / node (pull_request) Successful in 2m13s
ci / publish (pull_request) Skipped
ci / announce (pull_request) Skipped
ci / docker-build (pull_request) Successful in 1m13s
07cfe1310e
The webmail half of inbuxa's DLP (dlp-and-mail-flow-rules spec, §2.5,
§4):

- A send the server's DLP rules refuse (inbuxa:dlpWarning or
  inbuxa:dlpBlocked) comes back to the composer with the rules' notices
  instead of a generic "Send failed". A warning offers "Send anyway…",
  which asks for a reason and sends again with inbuxa:dlpOverride; the
  server records the reason. A block can only be answered by changing
  the message.
- A message DLP held for review says so on sending ("Held for review:
  it's sent once a reviewer releases it"), from the submission's
  inbuxa:held.
- Tests: the override travels with the submission only when there's a
  reason; refusals are told apart from other errors.

Nine new English strings (the notice labels, the prompt, the toasts);
the other catalogs fall back to English until translated.
jcoffey-dev merged commit d73f5e8f9e into main 2026-09-29 01:55:55 +00:00
jcoffey-dev deleted branch feature/dlp-dialogs 2026-09-29 01:55:55 +00:00
Sign in to join this conversation.