Pass $path to ocmPermissions2ncPermissions

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-06-25 23:42:24 +02:00
parent ed4afa55c1
commit 6b1af4ac8c
No known key found for this signature in database
GPG Key ID: 36E3664E099D0614
1 changed files with 1 additions and 1 deletions

View File

@ -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);