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