1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-28 17:27:50 +01:00

Fix Typo. Collection create has full view access (#523)

This commit is contained in:
Matt Gibson 2021-10-20 10:31:25 -05:00 committed by GitHub
parent f09fb69882
commit 815b436f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -115,11 +115,11 @@ export class Organization {
}
get canViewAllCollections() {
return this.canEditAnyCollection || this.canDeleteAnyCollection;
return this.canCreateNewCollections || this.canEditAnyCollection || this.canDeleteAnyCollection;
}
get canEditAssignedCollections() {
return this.isManager || (this.permissions.deleteAssignedCollections ?? this.permissions.manageAssignedCollections);
return this.isManager || (this.permissions.editAssignedCollections ?? this.permissions.manageAssignedCollections);
}
get canDeleteAssignedCollections() {