]> source.dussan.org Git - nextcloud-server.git/commitdiff
Files can't have create permissions
authorRoeland Jago Douma <rullzer@owncloud.com>
Fri, 11 Dec 2015 21:28:26 +0000 (22:28 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Fri, 11 Dec 2015 21:28:26 +0000 (22:28 +0100)
Fixes #20839

core/js/files/client.js

index 82cf3ff51218062289e27e768ec8ed39c2f73210..608c2702fbbb5baa9fb37cdf1027783a4f15e3f9 100644 (file)
                                                        }
                                                        break;
                                                case 'W':
-                                                       if (isFile) {
-                                                               // also add create permissions
-                                                               data.permissions |= OC.PERMISSION_CREATE;
-                                                       }
                                                        data.permissions |= OC.PERMISSION_UPDATE;
                                                        break;
                                                case 'D':