From d90f6f93ad8935181af22e5ef7b2425edd9ad34d Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 27 Oct 2021 13:06:27 -0500 Subject: [PATCH] Allow managers to create collections (#530) (cherry picked from commit e90cc40f68f2605e76a93c4e854d885ac93d955c) --- common/src/models/domain/organization.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/models/domain/organization.ts b/common/src/models/domain/organization.ts index 23633482..8edec4ab 100644 --- a/common/src/models/domain/organization.ts +++ b/common/src/models/domain/organization.ts @@ -103,7 +103,7 @@ export class Organization { } get canCreateNewCollections() { - return this.isAdmin || (this.permissions.createNewCollections ?? this.permissions.manageAllCollections); + return this.isManager || (this.permissions.createNewCollections ?? this.permissions.manageAllCollections); } get canEditAnyCollection() {