From e268b077df0e4342d21d9bbfaee12bf5eeff4ddb Mon Sep 17 00:00:00 2001 From: Ilya Oleshko Date: Wed, 19 May 2021 17:54:29 +0300 Subject: [PATCH] Web: Files: Store: Fixed displaying edit action for files with low access --- products/ASC.Files/Client/src/store/FilesStore.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/products/ASC.Files/Client/src/store/FilesStore.js b/products/ASC.Files/Client/src/store/FilesStore.js index b7890812e9..9fd0b6187f 100644 --- a/products/ASC.Files/Client/src/store/FilesStore.js +++ b/products/ASC.Files/Client/src/store/FilesStore.js @@ -618,6 +618,10 @@ class FilesStore { } if (isShareItem) { + if (!isFullAccess) { + fileOptions = this.removeOptions(fileOptions, ["edit"]); + } + if (isShareFolder) { fileOptions = this.removeOptions(fileOptions, [ "copy",