mirror of
https://github.com/bitwarden/jslib
synced 2025-12-10 05:13:41 +00:00
Fix Typo. Collection create has full view access (#523)
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user