1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-11 05:43:18 +00:00

Allow managers to create collections (#530)

This commit is contained in:
Matt Gibson
2021-10-27 13:06:27 -05:00
committed by GitHub
parent bf6e9848e7
commit e90cc40f68

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() {