From 8852d460b7009f776a131e88cbf0cbad595a16d8 Mon Sep 17 00:00:00 2001 From: Classic298 <27028174+Classic298@users.noreply.github.com> Date: Sat, 24 Oct 2026 07:44:47 +0200 Subject: [PATCH] fix: group permission toggles show while their feature is off (#32983) Users > Groups and the default permissions showed toggles such as Web Search, Channels, Notes, API Keys or Rate Response even when the admin had turned that feature off for the whole instance, so changing them did nothing. Each of these toggles, and the sharing toggles for notes, folders and calendars, now only shows while its feature is on. Stored permission values are kept, so turning a feature back on restores each group's setting. Refs #32830 --- .../admin/Users/Groups/Permissions.svelte | 527 ++++++++++-------- 1 file changed, 281 insertions(+), 246 deletions(-) diff --git a/src/lib/components/admin/Users/Groups/Permissions.svelte b/src/lib/components/admin/Users/Groups/Permissions.svelte index 4016d0d2eb..770c00dfe1 100644 --- a/src/lib/components/admin/Users/Groups/Permissions.svelte +++ b/src/lib/components/admin/Users/Groups/Permissions.svelte @@ -422,34 +422,54 @@ {/if} -