Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-11-14 17:46:03 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-14 17:46:03 +0300
commit9666786655684ab0e99b84f388465ea02fdeebec (patch)
tree2ac0bb98592ab53178a0430313c7874b1b3d2894
parentaef790a34694ffc2152a652600ce51d8e837fc64 (diff)
[stable9] Fixes not allowed increasing of link share permissions
Backport of #2100 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r--apps/files_sharing/api/share20ocs.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/api/share20ocs.php b/apps/files_sharing/api/share20ocs.php
index 4aaeeb0c710..2c9cce3e887 100644
--- a/apps/files_sharing/api/share20ocs.php
+++ b/apps/files_sharing/api/share20ocs.php
@@ -611,6 +611,7 @@ class Share20OCS {
if ($newPermissions !== null) {
$share->setPermissions($newPermissions);
+ $permissions = $newPermissions;
}
if ($expireDate === '') {