Shared mailboxes: let Full members manage the mailbox's filters (sort only; forwarding needs an admin) #643
Closed
opened 2026-11-25 20:19:38 +00:00 by jcoffey-dev
·
0 comments
No Branch/Tag Specified
main
release/2026
spec/client-gateway
merge/upstream-v1.0.0
upstream
next
v2026.11.26
v27.1-rc.49
v27.1-rc.48
v2026.11.25
v27.1-rc.47
v2026.11.24.2
v27.1-rc.46
v2026.11.24.1
v27.1-rc.45
v2026.11.24
v27.1-rc.44
v2026.11.23.1
v27.1-rc.43
v2026.11.23
v27.1-rc.42
v27.1-rc.41
v27.1-rc.40
v27.1-rc.39
v2026.11.20.2
v27.1-rc.38
v2026.11.20.1
v27.1-rc.37
v27.1-rc.36
v27.1-rc.35
v2026.11.20
v27.1-rc.34
v27.1-rc.33
v27.1-rc.32
v27.1-rc.31
v2026.11.18.3
v27.1-rc.30
v2026.11.18.2
v27.1-rc.29
v2026.11.18.1
v27.1-rc.28
v2026.11.18
v2026.11.17
v27.1-rc.27
v27.1-rc.26
v27.1-rc.25
v27.1-rc.24
v27.1-rc.23
v27.1-rc.22
v2026.11.11
v27.1-rc.21
v27.1-rc.20
v27.1-rc.19
v27.1-rc.18
v2026.11.10
v27.1-rc.17
v2026.11.9.2
v2026.11.9.1
v2026.11.9
v27.1-rc.16
v27.1-rc.15
v27.1-rc.14
v27.1-rc.13
v27.1-rc.12
v27.1-rc.11
v27.1-rc.10
v27.1-rc.9
v27.1-rc.8
v27.1-rc.7
v27.1-rc.6
v27.1-rc.5
v27.1-rc.4
v2026.10.29.1
v27.1-rc.3
v2026.10.29
v27.1-rc.2
v27.1-rc.1
v2026.10.28
v2026.10.19
v2026.10.16
v2026.10.15
v2026.10.12.1
v2026.10.12
v2026.10.10.1
v2026.10.10
v2026.10.9
v2026.10.8.1
v2026.10.8
v2026.10.6.3
v2026.10.6.2
v2026.10.6.1
v2026.10.6
v2026.10.5.1
v2026.10.5
v2026.9.30.2
v2026.9.30.1
v2026.9.30
v2026.9.29.2
v2026.9.29.1
v2026.9.29
v2026.9.28.6
v2026.9.28.5
v2026.9.28.4
v2026.9.28.3
v2026.9.28.2
v2026.9.28.1
v2026.9.28
v2026.9.27.2
v2026.9.27.1
v2026.9.27
v2026.9.26.1
v2026.9.26
v2026.9.25.1
v2026.9.25
v2026.9.24.4
v2026.9.24.3
v2026.9.24.2
v2026.9.24
v2026.9.23
v2026.9.22
v2026.9.20
Labels
Clear labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs info
question
security
sweep
translation
wontfix
Something isn't working
Dependency updates
Docs, README or site copy
Already tracked elsewhere
New feature or improvement
Good for newcomers
Contributions welcome
Not a valid issue
Waiting on the reporter for details
Needs an answer, not a code change
Security issue or hardening
Part of a bug sweep; listed on its tracker issue
New language or translation fixes
Will not be worked on
priority
p1
High priority
priority
p2
Medium priority
priority
p3
Low priority
No labels
Projects
Clear projects
No projects
Assignees
jcoffey-dev (John Coffey)
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: inbuxa/inbuxa-server#643
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A shared mailbox (MA-S) can't have filters that its members manage. The server already runs a shared mailbox's own active Sieve script when mail arrives (
crates/email/src/message/delivery.rs,sieve_script_get_activefor every recipient account;sieve/ingest.rsruns it "as written" for shared mailboxes). But only an owner or anImpersonateholder can create one:SieveScript/get,/query,/set(and/validate) callassert_is_member(account_id)(crates/jmap/src/api/request.rs), which a delegate never passes: delegations go intoaccess_tofor Mailbox, Email, Calendar, Contacts and FileNode, nevermember_of. A member with Full access gets Forbidden.urn:ietf:params:jmap:sieveon every shared account (api/session.rs), so clients offer a Filters page that can't work.fileintoresolves in the script owner's account only, falling back to INBOX), so personal rules written for a shared address silently land in the member's Inbox.The result: mail to shared addresses (hello@, legal@, ops@ …) can't be sorted automatically by the people who work them, and rules people write for it in their own Filters never fire.
What's wanted (decided):
Access::FullmaySieveScript/get,/query,/set,/validateon that account, includingonSuccessActivateScript. Read and Organize members may not (Forbidden, as today). Admins (Impersonate) unchanged.redirect(with or without:copy),vacation,notify/enotify,reject/ereject— is refused atSieveScript/setwith a clear description ("Forwarding and automatic replies on a shared mailbox can only be saved by an administrator"). Check the compiled script's instructions, not therequireline. An admin may save any script; a member then editing it must remove those actions or ask an admin.urn:ietf:params:jmap:sieveon a shared account only to members who can use it (Full, or admins).ManageSieve stays per-account (it can't address another account); out of scope.
Tests: Full member can create + activate a sorting script and mail to the shared address is filed by it; Organize/Read member gets Forbidden; Full member saving
redirect/vacationis refused and the active script is unchanged; admin can save one; audit entries recorded; session capability per role.