aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-26 09:38:41 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-26 09:38:41 +0200
commitadc38a724899b9bd69a0920011f9f83b077200a2 (patch)
tree0ceef5eb742ccf3abcb18847ea2fe0527c0cd54d /apps
parent4febe107e65927d9be298e2b45869343b7073874 (diff)
downloadnextcloud-server-adc38a724899b9bd69a0920011f9f83b077200a2.tar.gz
nextcloud-server-adc38a724899b9bd69a0920011f9f83b077200a2.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.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 ba237f6c5ef..53d25b6b1bc 100644
--- a/apps/files_sharing/lib/External/Storage.php
+++ b/apps/files_sharing/lib/External/Storage.php
@@ -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 {