aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-07-03 15:37:26 +0200
committerRobin Appelman <robin@icewind.nl>2017-07-17 15:09:12 +0200
commit359a583186c9e992b95b79966365f43305ccc4d2 (patch)
treedb33fbd81698740728f08ba1c1daad100d4c3af0 /core
parent0e107bc63c52500e90a905766bb8760095a9288a (diff)
downloadnextcloud-server-359a583186c9e992b95b79966365f43305ccc4d2.tar.gz
nextcloud-server-359a583186c9e992b95b79966365f43305ccc4d2.zip
fix parsing of dav permissions
Signed-off-by: Robin Appelman <robin@icewind.nl>
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':