aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-07-02 21:10:19 +0200
committerGitHub <noreply@github.com>2020-07-02 21:10:19 +0200
commit1913b1b91f625330ad02b9494421a89be685bf0e (patch)
treeb4d42ac7acc13cd296ac4b49193b931b3e405683 /apps/files_sharing/lib
parent9b916c5509f2efed92b14417f5353de717067d84 (diff)
parent6b1af4ac8c4500964656e5a7e868e5830324dc93 (diff)
downloadnextcloud-server-1913b1b91f625330ad02b9494421a89be685bf0e.tar.gz
nextcloud-server-1913b1b91f625330ad02b9494421a89be685bf0e.zip
Merge pull request #21591 from nextcloud/debt/noid/set-path-for-ocm-permissions
Pass $path to ocmPermissions2ncPermissions
Diffstat (limited to 'apps/files_sharing/lib')
-rw-r--r--apps/files_sharing/lib/External/Storage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/lib/External/Storage.php b/apps/files_sharing/lib/External/Storage.php
index 0d5f620ddf2..d875a51cb7a 100644
--- a/apps/files_sharing/lib/External/Storage.php
+++ b/apps/files_sharing/lib/External/Storage.php
@@ -363,7 +363,7 @@ class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage {
$permissions = $response['{http://open-collaboration-services.org/ns}share-permissions'];
} elseif (isset($response['{http://open-cloud-mesh.org/ns}share-permissions'])) {
// permissions provided by the OCM API
- $permissions = $this->ocmPermissions2ncPermissions($response['{http://open-collaboration-services.org/ns}share-permissions']);
+ $permissions = $this->ocmPermissions2ncPermissions($response['{http://open-collaboration-services.org/ns}share-permissions'], $path);
} else {
// use default permission if remote server doesn't provide the share permissions
$permissions = $this->getDefaultPermissions($path);