diff options
author | Joas Schilling <coding@schilljs.com> | 2016-07-14 10:25:24 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-07-14 10:25:24 +0200 |
commit | 7b62a8de052ad8c18d6e2edbb0eaae39ce6d4267 (patch) | |
tree | 85d914db740a347eb4ff373e4b670c1441d1a7a4 /core | |
parent | c04e7b13c342ee9c1d57cf117f6bb14a157d6b4e (diff) | |
download | nextcloud-server-7b62a8de052ad8c18d6e2edbb0eaae39ce6d4267.tar.gz nextcloud-server-7b62a8de052ad8c18d6e2edbb0eaae39ce6d4267.zip |
Add delete permissions to the default (new in oc9.1)
Diffstat (limited to 'core')
-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 ff83b40e0a0..cb0549ed093 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -227,7 +227,7 @@ var $checkbox = this.$('.hideFileListCheckbox'); $checkbox.siblings('.icon-loading-small').removeClass('hidden').addClass('inlineblock'); - var permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ; + 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; } |