From 48b12cbba32926c89f145683dba7087aef28a584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 5 May 2026 12:01:31 +0200 Subject: [PATCH] fix(settings): Fix admin delegation for hidden sections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Webhooks and users did not appear anymore in admin delegation because only admin sections were considered and not the new delegation sections. Signed-off-by: Côme Chilliet --- lib/private/Settings/Manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/Settings/Manager.php b/lib/private/Settings/Manager.php index 129be0f66a338..d3314e54c7fdd 100644 --- a/lib/private/Settings/Manager.php +++ b/lib/private/Settings/Manager.php @@ -338,6 +338,7 @@ public function getAllAllowedAdminSettings(IUser $user): array { #[\Override] public function getAdminDelegatedSettings(): array { $sections = $this->getAdminSections(); + $sections[self::SETTINGS_DELEGATION] = $this->getSections(self::SETTINGS_DELEGATION); $settings = []; foreach ($sections as $sectionPriority) { foreach ($sectionPriority as $section) {