Implemented Custom role and permissions

This commit is contained in:
addison 2020-12-22 13:59:07 -05:00
parent 0330641a14
commit c895ad0380
1 changed files with 1 additions and 1 deletions

View File

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