fix: replace isAdmin conditional with isManager for CanCreateNewCollections, refs AC-1857 (#7052)

This commit is contained in:
Vincent Salucci 2023-12-01 09:23:13 -06:00 committed by GitHub
parent d5dbc3fa23
commit 10d1e7de8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -164,7 +164,9 @@ export class Organization {
get canCreateNewCollections() { get canCreateNewCollections() {
return ( return (
!this.limitCollectionCreationDeletion || this.isAdmin || this.permissions.createNewCollections !this.limitCollectionCreationDeletion ||
this.isManager ||
this.permissions.createNewCollections
); );
} }