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: [email protected]
For additional commands, e-mail: [email protected]