summaryrefslogtreecommitdiffstats
path: root/core/js/files
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-12-11 22:28:26 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2015-12-11 22:28:26 +0100
commite8d5eb65c6825543096035b7481957bf5942a819 (patch)
tree297e1feef1b60aa32b3ada170db31557c3475c7a /core/js/files
parentaee4887224eac9cddbeb5e11990f264f084cb884 (diff)
downloadnextcloud-server-e8d5eb65c6825543096035b7481957bf5942a819.tar.gz
nextcloud-server-e8d5eb65c6825543096035b7481957bf5942a819.zip
Files can't have create permissions
Fixes #20839
Diffstat (limited to 'core/js/files')
-rw-r--r--core/js/files/client.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/js/files/client.js b/core/js/files/client.js
index 82cf3ff5121..608c2702fbb 100644
--- a/core/js/files/client.js
+++ b/core/js/files/client.js
@@ -303,10 +303,6 @@
}
break;
case 'W':
- if (isFile) {
- // also add create permissions
- data.permissions |= OC.PERMISSION_CREATE;
- }
data.permissions |= OC.PERMISSION_UPDATE;
break;
case 'D':