Skip to content

Commit e0f64f8

Browse files
committed
fix(settings): Fix admin delegation for hidden sections
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 <come.chilliet@nextcloud.com>
1 parent fffba55 commit e0f64f8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/private/Settings/Manager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ public function getAllAllowedAdminSettings(IUser $user): array {
338338
#[\Override]
339339
public function getAdminDelegatedSettings(): array {
340340
$sections = $this->getAdminSections();
341+
$sections[self::SETTINGS_DELEGATION] = $this->getSections(self::SETTINGS_DELEGATION);
341342
$settings = [];
342343
foreach ($sections as $sectionPriority) {
343344
foreach ($sectionPriority as $section) {

0 commit comments

Comments
 (0)