RED-2929: Exclude pages permissions
This commit is contained in:
parent
7dd6993f3f
commit
0d4fbcfe19
@ -127,8 +127,7 @@ export class PermissionsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
canExcludePages(file: File): boolean {
|
canExcludePages(file: File): boolean {
|
||||||
const dossier = this._getDossier(file);
|
return this.isFileAssignee(file);
|
||||||
return (file.isUnderReview || file.isUnderApproval) && (this.isFileAssignee(file) || this.isApprover(dossier));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
canDeleteComment(comment: IComment, file: File) {
|
canDeleteComment(comment: IComment, file: File) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user