set full edit permissions

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2016-12-06 15:22:33 +01:00
parent 9c249427d1
commit 02f26751ce
No known key found for this signature in database
GPG key ID: 7424F1874854DF23

View file

@ -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) {