diff --git a/src/Api/Controllers/OrganizationUsersController.cs b/src/Api/Controllers/OrganizationUsersController.cs index 0ff3fe105c..bd31fc8066 100644 --- a/src/Api/Controllers/OrganizationUsersController.cs +++ b/src/Api/Controllers/OrganizationUsersController.cs @@ -61,7 +61,8 @@ namespace Bit.Api.Controllers public async Task> Get(string orgId) { var orgGuidId = new Guid(orgId); - if (!await _currentContext.ViewAssignedCollections(orgGuidId) && + if (!await _currentContext.ViewAllCollections(orgGuidId) && + !await _currentContext.ViewAssignedCollections(orgGuidId) && !await _currentContext.ManageGroups(orgGuidId) && !await _currentContext.ManageUsers(orgGuidId)) { diff --git a/src/Core/Context/CurrentContext.cs b/src/Core/Context/CurrentContext.cs index f5cb29ba64..633b3cbfdd 100644 --- a/src/Core/Context/CurrentContext.cs +++ b/src/Core/Context/CurrentContext.cs @@ -310,7 +310,7 @@ namespace Bit.Core.Context public async Task ViewAllCollections(Guid orgId) { - return await EditAnyCollection(orgId) || await DeleteAnyCollection(orgId); + return await CreateNewCollections(orgId) || await EditAnyCollection(orgId) || await DeleteAnyCollection(orgId); } public async Task EditAssignedCollections(Guid orgId)