aboutsummaryrefslogtreecommitdiffstats
path: root/core
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
commit199c8e304c261cd0f32a320c2d8ec6c8ce2a45c6 (patch)
tree9c29e3242d4ef788eab9d4fcd60b877b0a02ac9a /core
parent726961172242d4d529af97a730ef9f57ec746eb2 (diff)
parent0ad065cb8d7bbc3665140f0b264a8ac74167cfa8 (diff)
downloadnextcloud-server-199c8e304c261cd0f32a320c2d8ec6c8ce2a45c6.tar.gz
nextcloud-server-199c8e304c261cd0f32a320c2d8ec6c8ce2a45c6.zip
Merge pull request #25250 from owncloud/linkshare-includedeletewithuploadperms
Add explicit delete permission to link shares
Diffstat (limited to 'core')
-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({