[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

@@ -157,7 +157,8 @@ export class UploadService {
*/
getUploadPromise(file: FileModel) {
let opts: any = {
renditions: 'doclib'
renditions: 'doclib',
include: ['allowableOperations']
};
if (file.options.newVersion === true) {