Browse Source

Use split collections permisions (#382)

pull/386/head
Matt Gibson 4 years ago committed by GitHub
parent
commit
12ead16167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jslib
  2. 2
      src/commands/list.command.ts

2
jslib

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

2
src/commands/list.command.ts

@ -161,7 +161,7 @@ export class ListCommand { @@ -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();

Loading…
Cancel
Save