From 103996e2d1fa4aa4495a5c6d205e2bd94f5224d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Mon, 9 Mar 2026 18:23:02 +0100 Subject: [PATCH] Remove commented out code --- src/api/core/organizations.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs index 64f835e2..0213a006 100644 --- a/src/api/core/organizations.rs +++ b/src/api/core/organizations.rs @@ -395,7 +395,6 @@ async fn get_org_collections_details(org_id: OrganizationId, headers: ManagerHea Membership::find_confirmed_by_org(&org_id, &conn).await.into_iter().map(|m| (m.uuid, m.atype)).collect(); // check if current user has full access to the organization (either directly or via any group) - // let has_full_access_to_org = headers.membership.has_full_access(); let has_full_access_to_org = member.has_full_access() || (CONFIG.org_groups_enabled() && GroupUser::has_full_access_by_member(&org_id, &member.uuid, &conn).await);