mirror of
https://github.com/bitwarden/server.git
synced 2025-02-27 03:41:30 +01:00
[AC-2143] Use flexible collections logic in GetManyDetails_vNext() (#3731)
This commit is contained in:
parent
e5bcf7de9a
commit
3c5e9ac1aa
@ -547,7 +547,7 @@ public class CollectionsController : Controller
|
||||
{
|
||||
// We always need to know which collections the current user is assigned to
|
||||
var assignedOrgCollections = await _collectionRepository
|
||||
.GetManyByUserIdWithAccessAsync(_currentContext.UserId.Value, orgId, false);
|
||||
.GetManyByUserIdWithAccessAsync(_currentContext.UserId.Value, orgId, true);
|
||||
|
||||
var readAllAuthorized =
|
||||
(await _authorizationService.AuthorizeAsync(User, CollectionOperations.ReadAllWithAccess(orgId))).Succeeded;
|
||||
|
Loading…
Reference in New Issue
Block a user