-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Why
We would implement FolderFilteringAction/set update extension that allows users to cancel the filtering task.
/set update can only be performed on the status property, if and only if the status is waiting or inProgress.
["FolderFilteringAction/set",
{
"update": {
"2034-495-05857-57abcd-0876664": {"status":"canceled"}
}
},
"#0"
]
Would cancel the task:
["FolderFilteringAction/set",
{
"updated" : {"2034-495-05857-57abcd-0876664": null },
"notUpdated": {}
},
"#0"
]
How
- Implement
FolderFilteringAction/set update(can take inspiration fromEmailActionRecovery/set update)
destroywould fail. - Contract tests
Note:
- method does not require accountId (aligned with
EmailRecoveryAction) - requires the Filter capability:
com:linagora:params:jmap:filter - do not cancel tasks of other users
- do not cancel other tasks type e.g.
EmailRecoveryActiontask
Metadata
Metadata
Assignees
Labels
No labels