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
1 changed files with 2 additions and 2 deletions

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() {