From 0e655828b3d96c7b2e11da814b000a0a22183814 Mon Sep 17 00:00:00 2001 From: Maurus Decimus <11444311+mdecimus@users.noreply.github.com> Date: Tue, 26 May 2026 19:31:23 +0200 Subject: [PATCH] Fix Tasks cannot be deleted in OSS builds --- CHANGELOG.md | 1 + crates/jmap/src/registry/mapping/task.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50796033..e3dc9ff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ If you are upgrading from v0.16.x, replace the binary (or run `docker pull`). If - Always update next DSN notify times. - Expand lists and resolve catch-all addresses when building autogenerated messages. - Sharing: Includes resource that themselves carry a direct ACL grant and are leaves. +- Tasks cannot be deleted in OSS builds. ## [0.16.6] - 2026-05-20 diff --git a/crates/jmap/src/registry/mapping/task.rs b/crates/jmap/src/registry/mapping/task.rs index 22b390d0..1fe9452e 100644 --- a/crates/jmap/src/registry/mapping/task.rs +++ b/crates/jmap/src/registry/mapping/task.rs @@ -318,7 +318,7 @@ pub(crate) async fn task_set( // SPDX-SnippetEnd #[cfg(not(feature = "enterprise"))] - { + if let Task::DestroyAccount(_) = task { set.response.not_destroyed.append( id, SetError::forbidden().with_description(