You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2023/07/13 04:57:00 UTC
[jira] [Created] (JAMES-3927) Improve subscription management for JMAP
Benoit Tellier created JAMES-3927:
-------------------------------------
Summary: Improve subscription management for JMAP
Key: JAMES-3927
URL: https://issues.apache.org/jira/browse/JAMES-3927
Project: James Server
Issue Type: New Feature
Components: eventbus, JMAP, mailbox
Affects Versions: 3.8.0
Reporter: Benoit Tellier
Assignee: Antoine Duprat
Fix For: master
h3. Why?
Subscription is held on a per mailbox basis and is used to show mailboxes or not in GUIs.
The issue is that JMAP do not show the full mailbox name (ie from the root) but only the right most folder name (excluding parents) combined with the id of the parent mailbox.
If a parent mailbox is hidden but a child is visible then the child will be hidden in JMAP.
So:
{code:java}
WHEN a mailbox is marked as visible
THEN all of its parents should be visible too
{code}
{code:java}
WHEN a mailbox is marked as hidden
THEN all of its children should be hidden too
{code}
h3. What?
Write a mailbox listener, in mailbox/store, to propagate:
- subscription to parent mailboxes
- unsubscription to children mailboxes
h3. Definition of Done
JMAP level integration tests.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org