From fbdce44b8b85e6a248e5f68ff14492ab5311905a Mon Sep 17 00:00:00 2001 From: LightOfHeaven1994 Date: Mon, 31 Aug 2026 09:57:12 +0200 Subject: [PATCH] fix(Kessel): check ancestry workspaces for permissions --- src/Utilities/hooks/useKesselWorkspaceIds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/hooks/useKesselWorkspaceIds.js b/src/Utilities/hooks/useKesselWorkspaceIds.js index 692f153f1..cbf436741 100644 --- a/src/Utilities/hooks/useKesselWorkspaceIds.js +++ b/src/Utilities/hooks/useKesselWorkspaceIds.js @@ -10,7 +10,7 @@ export async function fetchAllWorkspaces(baseUrl) { for (let offset = 0; ; offset += limit) { const { data: body } = await axios.get(`${baseUrl}${RBAC_WORKSPACE_API_PATH}`, { - params: { limit, offset }, + params: { limit, offset, with_ancestry: true }, }); const page = body.data ?? [];