Matthieu Baechler created JAMES-2169:
----------------------------------------

             Summary: Allow display of shared mailboxes via GetMailboxes
                 Key: JAMES-2169
                 URL: https://issues.apache.org/jira/browse/JAMES-2169
             Project: James Server
          Issue Type: Improvement
          Components: JMAP
            Reporter: Matthieu Baechler
            Assignee: Antoine Duprat


GetMailbox must be able to retrieve information about shared mailboxes.

To that purpose, we need to add a sharedWith field to Mailbox structure.

This field list people who get access to a given mailbox and list the rights 
each user gets.

Only Owner and people with Admin rights on a mailbox has access to this field 
content.

People having access to a mailbox has only its own right in this field.

Acceptance criteria: 

```
Given user Bob with ["INBOX", "BobShared"] mailboxes
And user Alice with ["INBOX"] mailboxes
And user Bob share "BobShaBred" mailbox to Alice
When Alice queries Bob's "BobShared" mailbox details
Then she gets BobShared details
And BobShared contains sharedWith property with only Alice rights
```



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to