mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 19:05:07 -05:00
Let Manage Users permission see group membership (#1135)
This commit is contained in:
@ -60,7 +60,8 @@ namespace Bit.Api.Controllers
|
||||
var orgIdGuid = new Guid(orgId);
|
||||
var canAccess = _currentContext.ManageGroups(orgIdGuid) ||
|
||||
_currentContext.ManageAssignedCollections(orgIdGuid) ||
|
||||
_currentContext.ManageAllCollections(orgIdGuid);
|
||||
_currentContext.ManageAllCollections(orgIdGuid) ||
|
||||
_currentContext.ManageUsers(orgIdGuid);
|
||||
|
||||
if (!canAccess)
|
||||
{
|
||||
|
Reference in New Issue
Block a user