From d91ff6cf098d2fc6498bcc5168d93bcf2f3f6202 Mon Sep 17 00:00:00 2001
From: zak39 <fotia.baptiste@hotmai.com>
Date: Wed, 13 Nov 2024 17:39:05 +0100
Subject: [PATCH] fix(controller): Allow the Workspace Manager to attach a
 group to a workspace

---
 lib/Controller/GroupController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Controller/GroupController.php b/lib/Controller/GroupController.php
index 1fee1073..00648cb9 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);