linagora / james-project

Mirror of Apache James Project
Apache License 2.0
72 stars 62 forks source link

[JMAP Draft] Email/query team mailboxes without shares capability should not succeed #4731

Closed quantranhong1999 closed 1 year ago

quantranhong1999 commented 1 year ago

EmailQueryView is not filtering team mailboxes by default, even for JMAP draft. We need to check this for JMAP draft. rf to JMAP RFC work: https://github.com/linagora/tmail-backend/issues/569

Arsnael commented 1 year ago

Why do we care about jmap-draft for new exclusive features such as team mailboxes btw?

chibenwa commented 1 year ago

Because we do still have OpenPaaS INBOX clients that might see emails that are unrelated.

Though maybe it do not have sense, because JMAP draft do not have the notion of capabilities if I recall correctly.

Mayb this can be closed too...

quantranhong1999 commented 1 year ago

I checked JMAP draft and see the EmailQueryView is being used, however, the is no capability as Benoit said. So the current behavior of JMAP draft is to display shared mailbox messages if possible.

chibenwa commented 1 year ago

Ok, closing then. Thanks for double checking...