mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +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 {
|
try {
|
||||||
let response: ApiListResponse<ApiCollectionResponse>;
|
let response: ApiListResponse<ApiCollectionResponse>;
|
||||||
if (organization.canManageAllCollections) {
|
if (organization.canViewAllCollections) {
|
||||||
response = await this.apiService.getCollections(options.organizationid);
|
response = await this.apiService.getCollections(options.organizationid);
|
||||||
} else {
|
} else {
|
||||||
response = await this.apiService.getUserCollections();
|
response = await this.apiService.getUserCollections();
|
||||||
|
|||||||
Reference in New Issue
Block a user