From 12ead161678bb146a1e811f0546870a1421153f9 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Tue, 5 Oct 2021 11:13:03 -0500 Subject: [PATCH] Use split collections permisions (#382) --- jslib | 2 +- src/commands/list.command.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index ee1ea922a9..91c5393ae7 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit ee1ea922a9d5a51ef8df2abf4b97fc035ed782be +Subproject commit 91c5393ae7a84e9f4d90391d072cae56e7a3ff41 diff --git a/src/commands/list.command.ts b/src/commands/list.command.ts index aa05eeb031..5860bc0efe 100644 --- a/src/commands/list.command.ts +++ b/src/commands/list.command.ts @@ -161,7 +161,7 @@ export class ListCommand { try { let response: ApiListResponse; - if (organization.canManageAllCollections) { + if (organization.canViewAllCollections) { response = await this.apiService.getCollections(options.organizationid); } else { response = await this.apiService.getUserCollections();