[
https://issues.apache.org/jira/browse/JAMES-3375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201844#comment-17201844
]
Benoit Tellier commented on JAMES-3375:
---------------------------------------
https://github.com/linagora/james-project/pull/3807 took into account the
sharing extension.
If the extension is present, message in delegated mailboxes can be searched.
If the extension is absent, only the personnal space can be searched.
> Email/query Allow filtering by mailbox
> --------------------------------------
>
> Key: JAMES-3375
> URL: https://issues.apache.org/jira/browse/JAMES-3375
> Project: James Server
> Issue Type: New Feature
> Components: JMAP
> Affects Versions: 3.6.0
> Reporter: Rémi Kowalski
> Assignee: Antoine Duprat
> Priority: Major
> Fix For: 3.6.0
>
>
> First ticket to implement the filtering when querying emails.
> The handling of shared mailbox will be done later in another issues
> h1. Why
> As an user i want to be able to select the mail in a mailbox like this :
> [[ "Email/query",{
> "accountId": "ue150411c",
> "filter": {
> "inMailbox": "myMailboxID"
> }
> }, "0" ]]
> I also want to be able to select emails NOT in a set of mailboxes
> [[ "Email/query",{
> "accountId": "ue150411c",
> "filter": {
> "inMailboxOtherThan": ["myMailboxID1", ""myMailboxID2"]
> }
> }, "0" ]]
>
> h1. HOW
> - accept a simple FilterCondition with an optional 'inMailbox' field
> - accept a simple FilterCondition with an optional 'inMailboxOtherThan' field
> - filter the query with the provided mailboxId
>
> h1. DOD
> - write integration demonstrating that a user can filter the email of one of
> its mailbox.
> - write integration demonstrating that a user can filter the email not in
> some of its mailboxes.
> - write integration demonstrating that a user can filter the email by both
> those filters. The expected result is the intersection of the results of both
> filters.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]