From dd8666fd435f6e7ee55709d41fcee5e99f86fd52 Mon Sep 17 00:00:00 2001 From: "hamza.hramchi" <hamza.hramchi@xelians.fr> Date: Fri, 23 Oct 2020 12:16:10 +0200 Subject: [PATCH] FEAT #15056 TIME 0:05 add priviliges --- src/frontend/app/process/process.component.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/app/process/process.component.html b/src/frontend/app/process/process.component.html index 1fc5210f3af..0912ffccca3 100644 --- a/src/frontend/app/process/process.component.html +++ b/src/frontend/app/process/process.component.html @@ -192,11 +192,13 @@ <mat-icon class="followIcon {{this.resourceFollowed ? 'fas':'far'}} fa-star" style="font-size: 20px;"></mat-icon> </button> - <button mat-icon-button [title]="this.translate.instant('lang.freezeRetentionRule')" + <button *ngIf="privilegeService.hasCurrentUserPrivilege('freeze_retention_rule')" + mat-icon-button [title]="this.translate.instant('lang.freezeRetentionRule')" class="categoryLabel" (click)="toggleFreezing()"> <mat-icon class="freezeThawIcon {{this.resourceFreezed ? 'fas':'far'}} fa-pause-circle" style="font-size: 20px;"></mat-icon> </button> - <button mat-icon-button [title]="this.translate.instant('lang.setBindingDocument')" + <button *ngIf="privilegeService.hasCurrentUserPrivilege('set_binding_document')" + mat-icon-button [title]="this.translate.instant('lang.setBindingDocument')" class="categoryLabel" (click)="toggleBinding()"> <mat-icon class=" {{this.resourceBinded ? 'bindIcon' : 'noBindIcn'}} fas fa-paperclip" style="font-size: 20px;"></mat-icon> </button> -- GitLab