[ADF-3212] Fixed permission issues when updating version (#3503)

* [ADF-3213] Fixed permission issues when updating version

* [ADF-3212] fixed test for PR

* allowableOperations include viewer get node
This commit is contained in:
davidcanonieto
2018-06-20 00:14:18 +01:00
committed by Eugenio Romano
parent cc73484a76
commit 0fae46b50b
4 changed files with 9 additions and 7 deletions

View File

@@ -285,7 +285,7 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
this.setUpUrlFile();
this.isLoading = false;
} else if (this.nodeId) {
this.apiService.nodesApi.getNodeInfo(this.nodeId).then(
this.apiService.nodesApi.getNodeInfo(this.nodeId, { include: ['allowableOperations'] }).then(
(data: MinimalNodeEntryEntity) => {
this.setUpNodeFile(data).then(() => {
this.isLoading = false;