]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix parsing of dav permissions 5757/head
authorRobin Appelman <robin@icewind.nl>
Mon, 3 Jul 2017 13:37:26 +0000 (15:37 +0200)
committerRobin Appelman <robin@icewind.nl>
Mon, 17 Jul 2017 13:40:49 +0000 (15:40 +0200)
Signed-off-by: Robin Appelman <robin@icewind.nl>
core/js/files/client.js

index da8a1205e4ba2312eb863392c01b8a1f550ed8c4..47a22fbbf7cfab8dacf3201585b9d73728ebd923 100644 (file)
                                                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':