From 02f26751ceecdedb1df9213834c6be339ecb88bd Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 6 Dec 2016 15:22:33 +0100 Subject: [PATCH] set full edit permissions Signed-off-by: Arthur Schiwon --- core/js/sharedialogshareelistview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5