mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
Fix Typo. Collection create has full view access (#523)
This commit is contained in:
parent
f09fb69882
commit
815b436f7c
@ -115,11 +115,11 @@ export class Organization {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get canViewAllCollections() {
|
get canViewAllCollections() {
|
||||||
return this.canEditAnyCollection || this.canDeleteAnyCollection;
|
return this.canCreateNewCollections || this.canEditAnyCollection || this.canDeleteAnyCollection;
|
||||||
}
|
}
|
||||||
|
|
||||||
get canEditAssignedCollections() {
|
get canEditAssignedCollections() {
|
||||||
return this.isManager || (this.permissions.deleteAssignedCollections ?? this.permissions.manageAssignedCollections);
|
return this.isManager || (this.permissions.editAssignedCollections ?? this.permissions.manageAssignedCollections);
|
||||||
}
|
}
|
||||||
|
|
||||||
get canDeleteAssignedCollections() {
|
get canDeleteAssignedCollections() {
|
||||||
|
Loading…
Reference in New Issue
Block a user