-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Why
FolderFilteringAction/set should support sharing capability: BOB should be able to use a rule to help sort the team mailbox.
However, it is not the case today because of the limitation of RunRulesOnMailboxTask: it relies on username + mailboxName, making resolving team mailbox (which uses a different namespace) impossible.
Currently, FolderFilteringAction/set rejected create task on team mailbox as a safe guard: the task would fail anyway because the task can not resolve correct team mailbox path.
How
Let's refactor the RunRulesOnMailboxTask on James side so it accepts MailboxPath input so we can inject shared mailbox/team mailbox correctly cf #1982 (comment).
After that, adapt FolderFilteringAction/set to support sharing capability.
DoD
Integration test: FolderFilteringAction/set should succeed on another user's mailbox when using sharing capabilities cf #1982 (comment).