Skip to content
Snippets Groups Projects
Commit 80fde2d8 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

Sharing update: take over reshares and thus don't fail

parent 25499644
Branches
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ if (version_compare($installedVersion, '0.3', '<')) {
if ($row['permissions'] == 0) {
$permissions = OCP\Share::PERMISSION_READ;
} else {
$permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_UPDATE;
$permissions = OCP\Share::PERMISSION_READ | OCP\Share::PERMISSION_UPDATE | OCP\Share::PERMISSION_SHARE;
if ($itemType == 'folder') {
$permissions |= OCP\Share::PERMISSION_CREATE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment