RED-3137: Pages from an approved file should not be excludable

This commit is contained in:
Adina Țeudan 2022-01-10 18:54:06 +02:00
parent 1b4e4b5719
commit 8c3efce7ef

View File

@ -131,7 +131,7 @@ export class PermissionsService {
}
canExcludePages(file: File): boolean {
return this.isFileAssignee(file);
return this.canPerformAnnotationActions(file);
}
canDeleteComment(comment: IComment, file: File) {