We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928f0f2 commit 8236035Copy full SHA for 8236035
src/documents/document-validator/document-validator.service.ts
@@ -107,7 +107,7 @@ export class DocumentValidatorService {
107
108
private async validatePersonLinkings(document: Populated<Document>, person: Person) {
109
const { collectionID, creator } = document;
110
- if (collectionID && await this.formPermissionsService.isAdminOf(collectionID, person)) {
+ if (person.isImporter() || collectionID && await this.formPermissionsService.isAdminOf(collectionID, person)) {
111
return;
112
}
113
0 commit comments