Merge pull request #60160 from nextcloud/fix/fix-admin-delegation

fix(settings): Fix admin delegation for hidden sections
This commit is contained in:
Louis 2026-05-07 16:13:22 +02:00 committed by GitHub
commit 091a2119db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -338,6 +338,7 @@ class Manager implements IManager {
#[\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) {