mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
Use split collections permisions (#382)
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: ee1ea922a9...91c5393ae7
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user