diff --git a/src/app/resource/controllers/SummarySheetController.php b/src/app/resource/controllers/SummarySheetController.php index 2898fed31d0cb91aaf689692c6266761807f200e..524dcc29fc315a148ad944cac398145ecfff109c 100755 --- a/src/app/resource/controllers/SummarySheetController.php +++ b/src/app/resource/controllers/SummarySheetController.php @@ -858,7 +858,8 @@ class SummarySheetController } } } elseif ($unit['unit'] == 'workflowHistory') { - if (!PrivilegeController::hasPrivilege(['privilegeId' => 'view_doc_history', 'userId' => $GLOBALS['id']])) { + if (!PrivilegeController::hasPrivilege(['privilegeId' => 'view_doc_history', 'userId' => $GLOBALS['id']]) + && !PrivilegeController::hasPrivilege(['privilegeId' => 'view_full_history', 'userId' => $GLOBALS['id']])) { continue; } diff --git a/src/frontend/app/list/summarySheet/summary-sheet.component.ts b/src/frontend/app/list/summarySheet/summary-sheet.component.ts index 67d7300eb3ab366c07e8b0829a5f09e124702b02..8f20e56201cc1bcaf67add4c61f1acc76ad67098 100644 --- a/src/frontend/app/list/summarySheet/summary-sheet.component.ts +++ b/src/frontend/app/list/summarySheet/summary-sheet.component.ts @@ -175,7 +175,7 @@ export class SummarySheetComponent implements OnInit { }) ).subscribe(); - if (!this.privilegeService.hasCurrentUserPrivilege('view_doc_history')) { + if (!this.privilegeService.hasCurrentUserPrivilege('view_doc_history') && !this.privilegeService.hasCurrentUserPrivilege('view_full_history')) { this.dataAvailable = this.dataAvailable.filter((item: any) => item.id !== 'workflowHistory'); } }