1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

Use split collections permisions (#382)

This commit is contained in:
Matt Gibson 2021-10-05 11:13:03 -05:00 committed by GitHub
parent 6ffc295be9
commit 12ead16167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit ee1ea922a9d5a51ef8df2abf4b97fc035ed782be
Subproject commit 91c5393ae7a84e9f4d90391d072cae56e7a3ff41

View File

@ -161,7 +161,7 @@ export class ListCommand {
try {
let response: ApiListResponse<ApiCollectionResponse>;
if (organization.canManageAllCollections) {
if (organization.canViewAllCollections) {
response = await this.apiService.getCollections(options.organizationid);
} else {
response = await this.apiService.getUserCollections();