[ACA-2199] Upload Version - granular permission (#938)

* canUploadVersion evaluator

* change upload version action rule

* update docs

* simplify condition

* unit tests and code fixes
This commit is contained in:
Cilibiu Bogdan
2019-02-13 23:04:48 +02:00
committed by Denys Vuika
parent 7c38201500
commit bb5ce29445
5 changed files with 369 additions and 36 deletions

View File

@@ -123,6 +123,7 @@ export class CoreExtensionsModule {
'app.selection.file.canShare': app.canShareFile,
'app.selection.file.isShared': app.isShared,
'app.selection.file.isLocked': app.hasLockedFiles,
'app.selection.file.canUploadVersion': app.canUploadVersion,
'app.selection.library': app.hasLibrarySelected,
'app.selection.isPrivateLibrary': app.isPrivateLibrary,
'app.selection.hasLibraryRole': app.hasLibraryRole,