mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
[stable9] Fixes not allowed increasing of link share permissions
Backport of #2100 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
aef790a346
commit
9666786655
1 changed files with 1 additions and 0 deletions
|
|
@ -611,6 +611,7 @@ class Share20OCS {
|
|||
|
||||
if ($newPermissions !== null) {
|
||||
$share->setPermissions($newPermissions);
|
||||
$permissions = $newPermissions;
|
||||
}
|
||||
|
||||
if ($expireDate === '') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue