diff options
author | provokateurin <kate@provokateurin.de> | 2024-09-26 09:38:41 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-09-26 14:21:18 +0000 |
commit | 74d30ae6c0ee9c4cec67b76fdce00763984aa352 (patch) | |
tree | de306e0a0b5f8a3f7b6b74297015c7db88a8b94b /apps | |
parent | 1dbd72dcc0f420a605dc0bbaf59e2e6c81c87003 (diff) | |
download | nextcloud-server-74d30ae6c0ee9c4cec67b76fdce00763984aa352.tar.gz nextcloud-server-74d30ae6c0ee9c4cec67b76fdce00763984aa352.zip |
fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/External/Storage.php | 2 |
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 7b64690d53e..c5ced250a73 100644 --- a/apps/files_sharing/lib/External/Storage.php +++ b/apps/files_sharing/lib/External/Storage.php @@ -389,7 +389,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 { |