Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Done
-
None
-
None
-
None
Description
We should be able to store changes for user with access to a delegated mailbox. Also when fetching changes via Mailbox/changes, we should have an extension to decide whether to return "delegated changes" to the user or not.
How
- Modified the MailboxChangeListener so that when an mailbox event occur, it can record multiple changes for all users who currently having access to that mailbox.
- Add a field to MailboxChange object in order to differentiate between normal/delegated changes.
- Use Shares capability to filter out delegated changes.
DoD
- Unit tests in MailboxChangeRepository, MailboxChangeListener
- Integration tests to show that we can filter out delegated changes.