[ASF-1227] new adf-node-permission directive (#2154)

* directive implementation

* update docs

* unit tests and api docs

* code improvements

* simplify code

* update type def and docs
This commit is contained in:
Denys Vuika
2017-08-02 17:34:48 +01:00
committed by Mario Romano
parent 152e7805bc
commit 91ef0b6947
6 changed files with 261 additions and 1 deletions

View File

@@ -30,7 +30,9 @@
<button md-icon-button (click)="onCreateFolderClicked($event)">
<md-icon>create_new_folder</md-icon>
</button>
<button md-icon-button>
<button md-icon-button
adf-node-permission="delete"
[adf-nodes]="documentList.selection">
<md-icon>delete</md-icon>
</button>