Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Email/query expose emails from shared mailboxes when listing email #3717

Closed
remk opened this issue Sep 1, 2020 · 0 comments
Closed

Email/query expose emails from shared mailboxes when listing email #3717

remk opened this issue Sep 1, 2020 · 0 comments
Assignees
Labels
1 Story points remaining to complete an issue I Time spent (1 halth day)
Milestone

Comments

@remk
Copy link
Member

remk commented Sep 1, 2020

Simple implementation without filters/sorting/pagination

Why

With the new specification, when using the shares extension I should be able to list my emails and the one from
mailboxes shared with me.

{
  "using": [
    "urn:ietf:params:jmap:core",
    "urn:ietf:params:jmap:mail",
    "urn:apache:james:params:jmap:mail:shares"],
    "methodCalls":
        [[ "Email/query",{
           "accountId": "ue150411c"
         }, "0" ]]
}

Should return :

[[ "Email/query", {
  "accountId": "ue150411c",
  "queryState": "09aa9a075588-780599:0",
  "canCalculateChanges": false,
  "position": 0,
  "ids": [ "Ma783e5cdf5f2deffbc97930a",
    "M9bd17497e2a99cb345fc1d0a", "IdOfAMailFromASharedMailbox", ... ]
}, "0" ]]

HOW

  1. Implement a method for Email/query
  2. Write dedicated integration tests for it.

Notes

Even without sorting the order of the elements should be stable between two calls to the method

DOD

Write memory integration tests for Email/query with shared mailboxes.

@chibenwa chibenwa added this to the Sprint 2 milestone Sep 3, 2020
@remk remk assigned remk and unassigned remk Sep 21, 2020
@chibenwa chibenwa added the 3 Story points remaining to complete an issue label Sep 23, 2020
@chibenwa chibenwa self-assigned this Sep 23, 2020
@chibenwa chibenwa added 2 Story points remaining to complete an issue I Time spent (1 halth day) 1 Story points remaining to complete an issue and removed 3 Story points remaining to complete an issue 2 Story points remaining to complete an issue labels Sep 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 Story points remaining to complete an issue I Time spent (1 halth day)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants