shared nodes actions permission (#224)

This commit is contained in:
Cilibiu Bogdan
2018-03-06 18:17:06 +02:00
committed by Denys Vuika
parent a401b3d90a
commit a9d98fbe83
3 changed files with 71 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
<button
mat-menu-item
*ngIf="canMove(documentList.selection)"
*ngIf="canMoveShared(documentList.selection)"
[app-move-node]="documentList.selection">
<mat-icon>library_books</mat-icon>
<span>{{ 'APP.ACTIONS.MOVE' | translate }}</span>
@@ -67,7 +67,7 @@
<button
mat-menu-item
*ngIf="canDelete(documentList.selection)"
*ngIf="canDeleteShared(documentList.selection)"
[app-delete-node]="documentList.selection">
<mat-icon>delete</mat-icon>
<span>{{ 'APP.ACTIONS.DELETE' | translate }}</span>