mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
Signed-off-by: provokateurin <kate@provokateurin.de>
This commit is contained in:
parent
4febe107e6
commit
adc38a7248
1 changed files with 1 additions and 1 deletions
2
apps/files_sharing/lib/External/Storage.php
vendored
2
apps/files_sharing/lib/External/Storage.php
vendored
|
|
@ -350,7 +350,7 @@ class Storage extends DAV implements ISharedStorage, IDisableEncryptionStorage,
|
|||
$permissions = (int)$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'], $path);
|
||||
$permissions = $this->ocmPermissions2ncPermissions($response['{http://open-cloud-mesh.org/ns}share-permissions'], $path);
|
||||
} elseif (isset($response['{http://owncloud.org/ns}permissions'])) {
|
||||
return $this->parsePermissions($response['{http://owncloud.org/ns}permissions']);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue