diff --git a/src/frontend/app/process/process.component.html b/src/frontend/app/process/process.component.html index 1fc5210f3aff3c4bc04958301a290c395e855526..0912ffccca34740d47b42a0a81388da6803e819e 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>