Skip to content

FolderFilteringAction/set create should support sharing capability #1983

@quantranhong1999

Description

@quantranhong1999

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions