diff --git a/src/Core/Services/Implementations/CollectionService.cs b/src/Core/Services/Implementations/CollectionService.cs index 006c8c5cfc..b30645f4d1 100644 --- a/src/Core/Services/Implementations/CollectionService.cs +++ b/src/Core/Services/Implementations/CollectionService.cs @@ -98,7 +98,13 @@ public class CollectionService : ICollectionService public async Task> GetOrganizationCollectionsAsync(Guid organizationId) { - if (!await _currentContext.ViewAssignedCollections(organizationId) && !await _currentContext.ManageUsers(organizationId) && !await _currentContext.ManageGroups(organizationId) && !await _currentContext.AccessImportExport(organizationId)) + if ( + !await _currentContext.ViewAssignedCollections(organizationId) && + !await _currentContext.ViewAllCollections(organizationId) && + !await _currentContext.ManageUsers(organizationId) && + !await _currentContext.ManageGroups(organizationId) && + !await _currentContext.AccessImportExport(organizationId) + ) { throw new NotFoundException(); }