diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-27 12:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-27 12:14:05 +0200 |
commit | 6e0c40ffd9d33df8a62da46e364df84c49563ed5 (patch) | |
tree | 9c29e3242d4ef788eab9d4fcd60b877b0a02ac9a /core/js | |
parent | dbd176cfab14791d2373db5d2ecf39759e07aabc (diff) | |
parent | 7dc36289ab4df280ea9412932cec403b62aa30a8 (diff) | |
download | nextcloud-server-6e0c40ffd9d33df8a62da46e364df84c49563ed5.tar.gz nextcloud-server-6e0c40ffd9d33df8a62da46e364df84c49563ed5.zip |
Merge pull request #25250 from owncloud/linkshare-includedeletewithuploadperms
Add explicit delete permission to link shares
Diffstat (limited to 'core/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 817c3408e7e..59f7ffcae03 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -202,7 +202,7 @@ var permissions = OC.PERMISSION_READ; if($checkbox.is(':checked')) { - permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ; + permissions = OC.PERMISSION_UPDATE | OC.PERMISSION_CREATE | OC.PERMISSION_READ | OC.PERMISSION_DELETE; } this.model.saveLinkShare({ |