diff options
author | F. E Noel Nfebe <fenn25.fn@gmail.com> | 2025-06-03 16:41:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-03 16:41:48 +0200 |
commit | 5d62ca63093b726a205825f6ab78fc647878f664 (patch) | |
tree | def3538f4b761a3028e335d712c035f69bcd1ae1 | |
parent | cfeec72fff9dfab222841470034fdd12272f2a53 (diff) | |
parent | b647ca6c2644914b2658194677690be67ae6007e (diff) | |
download | nextcloud-server-5d62ca63093b726a205825f6ab78fc647878f664.tar.gz nextcloud-server-5d62ca63093b726a205825f6ab78fc647878f664.zip |
Merge pull request #53275 from nextcloud/fix/52617/fix-group-admin-delegation
fix(provisioning_api): Allow group details access for users with admin delegation
-rw-r--r-- | apps/provisioning_api/lib/Controller/GroupsController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php index 3d9fa6b1cfc..37af51419df 100644 --- a/apps/provisioning_api/lib/Controller/GroupsController.php +++ b/apps/provisioning_api/lib/Controller/GroupsController.php @@ -98,6 +98,7 @@ class GroupsController extends AUserDataOCSController { */ #[NoAdminRequired] #[AuthorizedAdminSetting(settings: Sharing::class)] + #[AuthorizedAdminSetting(settings: Users::class)] public function getGroupsDetails(string $search = '', ?int $limit = null, int $offset = 0): DataResponse { $groups = $this->groupManager->search($search, $limit, $offset); $groups = array_values(array_map(function ($group) { |