1
0
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:
Thomas Rittson
2021-02-12 08:14:00 +10:00
committed by GitHub
parent f3bff938c4
commit 61ee3f1e45
2 changed files with 7 additions and 3 deletions

View File

@ -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)
{