Skip to content
Snippets Groups Projects
Commit dd8666fd authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FEAT #15056 TIME 0:05 add priviliges

parent 6c695b49
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment