mirror of
https://github.com/bitwarden/server
synced 2025-12-22 03:03:33 +00: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