diff --git a/lib/Controller/GroupController.php b/lib/Controller/GroupController.php index 1fee10738..00648cb95 100644 --- a/lib/Controller/GroupController.php +++ b/lib/Controller/GroupController.php @@ -373,7 +373,7 @@ public function removeUser( /** * @NoAdminRequired - * @GeneralManagerRequired + * @SpaceAdminRequired */ public function attachGroupToSpace(int $spaceId, string $gid) { $workspace = $this->spaceManager->get($spaceId);