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 | 199c8e304c261cd0f32a320c2d8ec6c8ce2a45c6 (patch) | |
tree | 9c29e3242d4ef788eab9d4fcd60b877b0a02ac9a /core | |
parent | 726961172242d4d529af97a730ef9f57ec746eb2 (diff) | |
parent | 0ad065cb8d7bbc3665140f0b264a8ac74167cfa8 (diff) | |
download | nextcloud-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.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({ |