Filters on a shared mailbox: its own rules, sort-only for members #156

Merged
jcoffey-dev merged 1 commits from feat/155-shared-mailbox-filters into main 2026-11-25 21:03:23 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 1b1eada098 Filters on a shared mailbox: its own rules, sort-only for members
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 1m44s
ci / announce (pull_request) Skipped
With a shared mailbox in view, Settings > Filters now edits that
mailbox's Sieve script instead of the reader's own, and says so in the
heading ("Filters for [email protected]"). Rules written into the reader's
own script for a shared address never ran on its mail.

- Read and Organize members, or a server that answers Forbidden, get
  "You need full access to this mailbox to change its filters." with no
  editor and no New rule button. The same goes for "Filter messages
  like this".
- A member who isn't an administrator (no impersonate permission) is
  offered only actions that sort: file, star, label, mark read, keep,
  delete and stop. Forward and reject are not offered.
- A rule an administrator saved that forwards, rejects or uses an action
  this version doesn't know is shown read-only, "Saved by an
  administrator; only an administrator can change it", and is written
  back unchanged when the other rules are saved.
- A refused save shows the server's own description.
- The reader's own Filters page, when they have shared mailboxes, says
  its rules only apply to mail delivered to them.

Five new strings, translated in all ten catalogs (AI-made, unreviewed);
nothing falls back to English before or after.

Fixes #155
2026-11-25 13:31:08 -07:00