1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-06 00:03:29 +00:00

Allow managers to create collections (#530)

(cherry picked from commit e90cc40f68)
This commit is contained in:
Matt Gibson
2021-10-27 13:06:27 -05:00
parent c7a9a89e0a
commit d90f6f93ad

View File

@@ -103,7 +103,7 @@ export class Organization {
} }
get canCreateNewCollections() { get canCreateNewCollections() {
return this.isAdmin || (this.permissions.createNewCollections ?? this.permissions.manageAllCollections); return this.isManager || (this.permissions.createNewCollections ?? this.permissions.manageAllCollections);
} }
get canEditAnyCollection() { get canEditAnyCollection() {