From e90cc40f68f2605e76a93c4e854d885ac93d955c 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) --- 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 2363348221..8edec4ab75 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() {