Sharing update: take over reshares and thus don't fail
This commit is contained in:
parent
25499644e3
commit
80fde2d8d1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue