From 359a583186c9e992b95b79966365f43305ccc4d2 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 3 Jul 2017 15:37:26 +0200 Subject: fix parsing of dav permissions Signed-off-by: Robin Appelman --- core/js/files/client.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core') 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': -- cgit v1.2.3