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:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user