diff options
author | Joas Schilling <coding@schilljs.com> | 2016-07-14 10:25:53 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-07-14 10:25:53 +0200 |
commit | 1df65e987229ecf1044e01743b0a33df04001e53 (patch) | |
tree | e1be4c132506643bebcb488686e7ed264c658053 /core/js/sharedialoglinkshareview.js | |
parent | 7b62a8de052ad8c18d6e2edbb0eaae39ce6d4267 (diff) | |
download | nextcloud-server-1df65e987229ecf1044e01743b0a33df04001e53.tar.gz nextcloud-server-1df65e987229ecf1044e01743b0a33df04001e53.zip |
Don't need update permissions on hidden files
Diffstat (limited to 'core/js/sharedialoglinkshareview.js')
-rw-r--r-- | core/js/sharedialoglinkshareview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index cb0549ed093..457a788d589 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -229,7 +229,7 @@ var permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ | OC.PERMISSION_DELETE; if ($checkbox.is(':checked')) { - permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE; + permissions = OC.PERMISSION_CREATE; } this.model.saveLinkShare({ |