summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-27 12:14:05 +0200
committerGitHub <noreply@github.com>2016-06-27 12:14:05 +0200
commit6e0c40ffd9d33df8a62da46e364df84c49563ed5 (patch)
tree9c29e3242d4ef788eab9d4fcd60b877b0a02ac9a /core/js
parentdbd176cfab14791d2373db5d2ecf39759e07aabc (diff)
parent7dc36289ab4df280ea9412932cec403b62aa30a8 (diff)
downloadnextcloud-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.js2
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({