summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/files/client.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index d8e615f6d6d..176cabf04b1 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -331,11 +331,10 @@
case 'C':
case 'K':
data.permissions |= OC.PERMISSION_CREATE;
- if (!isFile) {
- data.permissions |= OC.PERMISSION_UPDATE;
- }
break;
case 'W':
+ case 'N':
+ case 'V':
data.permissions |= OC.PERMISSION_UPDATE;
break;
case 'D':