Pass $path to ocmPermissions2ncPermissions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
ed4afa55c1
commit
6b1af4ac8c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue