From 5bb0307877a3596d212368afa435ef2b1e582725 Mon Sep 17 00:00:00 2001 From: Camille Moussu <66134347+Eriikah@users.noreply.github.com> Date: Thu, 19 Mar 2026 16:37:11 +0100 Subject: [PATCH] [#670] remove possibility to update calendar ACL when it's a shared calendar (#672) Co-authored-by: Camille Moussu --- src/components/Calendar/CalendarModal.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/Calendar/CalendarModal.tsx b/src/components/Calendar/CalendarModal.tsx index 9a45724..1914af2 100644 --- a/src/components/Calendar/CalendarModal.tsx +++ b/src/components/Calendar/CalendarModal.tsx @@ -123,8 +123,7 @@ function CalendarPopover({ }) ).unwrap(); } - - if (visibility !== calendar?.visibility) { + if (canManageInvites && visibility !== calendar?.visibility) { await dispatch( patchACLCalendarAsync({ calId,