summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-06 15:22:33 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-12-06 15:22:33 +0100
commit02f26751ceecdedb1df9213834c6be339ecb88bd (patch)
tree1ae11b15f9ff1dac196501d43d0ee6e2f205da8e /core
parent9c249427d1f16e56a4f96dd8eddc2ad8c8a81df0 (diff)
downloadnextcloud-server-02f26751ceecdedb1df9213834c6be339ecb88bd.tar.gz
nextcloud-server-02f26751ceecdedb1df9213834c6be339ecb88bd.zip
set full edit permissions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'core')
-rw-r--r--core/js/sharedialogshareelistview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js
index 2d77506229a..4c197a6a253 100644
--- a/core/js/sharedialogshareelistview.js
+++ b/core/js/sharedialogshareelistview.js
@@ -374,7 +374,7 @@
}
}
if ($element.attr('name') === 'edit' && $element.is(':checked')) {
- permissions |= OC.PERMISSION_UPDATE;
+ permissions |= OC.PERMISSION_CREATE | OC.PERMISSION_UPDATE | OC.PERMISSION_READ | OC.PERMISSION_DELETE;
}
$('.permissions', $li).not('input[name="edit"]').filter(':checked').each(function(index, checkbox) {