Skip to content

Commit 9666786

Browse files
committed
[stable9] Fixes not allowed increasing of link share permissions
Backport of #2100 Signed-off-by: Roeland Jago Douma <[email protected]>
1 parent aef790a commit 9666786

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/files_sharing/api/share20ocs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ public function updateShare($id) {
611611

612612
if ($newPermissions !== null) {
613613
$share->setPermissions($newPermissions);
614+
$permissions = $newPermissions;
614615
}
615616

616617
if ($expireDate === '') {

0 commit comments

Comments
 (0)