mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
declare permission property to check from of node (#302)
This commit is contained in:
committed by
Denys Vuika
parent
31ad535348
commit
d5d66f0001
@@ -64,7 +64,7 @@
|
||||
|
||||
<button
|
||||
mat-menu-item
|
||||
*ngIf="permission.check(documentList.selection, ['delete'])"
|
||||
*ngIf="permission.check(documentList.selection, ['delete'], { target: 'allowableOperationsOnTarget' })"
|
||||
[app-move-node]="documentList.selection">
|
||||
<mat-icon color="primary">library_books</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.MOVE' | translate }}</span>
|
||||
@@ -81,7 +81,7 @@
|
||||
|
||||
<button
|
||||
mat-menu-item
|
||||
*ngIf="permission.check(documentList.selection, ['delete'])"
|
||||
*ngIf="permission.check(documentList.selection, ['delete'], { target: 'allowableOperationsOnTarget' })"
|
||||
[app-delete-node]="documentList.selection">
|
||||
<mat-icon color="primary">delete</mat-icon>
|
||||
<span>{{ 'APP.ACTIONS.DELETE' | translate }}</span>
|
||||
|
Reference in New Issue
Block a user