[ACA-213] Edit Offline - permissions (#911)

* edit offline action rules

* unlock node error message

* update extensions rules

* lock unlock evaluators

* LockNodeDirective over EditOfflineDirective

* disable tests failing cause of unrelated bug

* isUserWriteLockOwner over isUserWriteLock
This commit is contained in:
Cilibiu Bogdan
2019-02-05 20:39:11 +02:00
committed by Denys Vuika
parent f7ed576847
commit 913685eb14
11 changed files with 105 additions and 54 deletions

View File

@@ -111,7 +111,8 @@ export class CoreExtensionsModule {
extensions.setEvaluators({
'app.selection.canDelete': app.canDeleteSelection,
'app.selection.canEditLockedFile': app.canEditLockedFile,
'app.selection.canUnlockFile': app.canUnlockFile,
'app.selection.canLockFile': app.canLockFile,
'app.selection.canDownload': app.canDownloadSelection,
'app.selection.notEmpty': app.hasSelection,
'app.selection.canUnshare': app.canUnshareNodes,