Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-3927

Improve subscription management for JMAP

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.0
    • master
    • eventbus, JMAP, mailbox
    • None

    Description

      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:

      WHEN a mailbox is marked as visible
      THEN all of its parents should be visible too
      
      WHEN a mailbox is marked as hidden
      THEN all of its children should be hidden too
      

      What?

      Write a mailbox listener, in mailbox/store, to propagate:

      • subscription to parent mailboxes
      • unsubscription to children mailboxes

      Definition of Done

      JMAP level integration tests.

      Attachments

        Issue Links

          Activity

            People

              aduprat Antoine Duprat
              btellier Benoit Tellier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m