mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
Create collections allows view all access (#1653)
* Create collections allows view all access * Add missing permission to read users
This commit is contained in:
@ -310,7 +310,7 @@ namespace Bit.Core.Context
|
||||
|
||||
public async Task<bool> ViewAllCollections(Guid orgId)
|
||||
{
|
||||
return await EditAnyCollection(orgId) || await DeleteAnyCollection(orgId);
|
||||
return await CreateNewCollections(orgId) || await EditAnyCollection(orgId) || await DeleteAnyCollection(orgId);
|
||||
}
|
||||
|
||||
public async Task<bool> EditAssignedCollections(Guid orgId)
|
||||
|
Reference in New Issue
Block a user