aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-26 09:38:41 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-26 14:23:55 +0000
commit7f22f3d42dcd72d344bd5c32961362d34600c1b6 (patch)
tree62801f07bcf71055a1b100f68125367484e0a7e4 /apps
parente4a564392ed820f8ea48634a5cf4f2e699409680 (diff)
downloadnextcloud-server-7f22f3d42dcd72d344bd5c32961362d34600c1b6.tar.gz
nextcloud-server-7f22f3d42dcd72d344bd5c32961362d34600c1b6.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 7af22beda52..020bbe2fbf9 100644
--- a/apps/files_sharing/lib/External/Storage.php
+++ b/apps/files_sharing/lib/External/Storage.php
@@ -362,7 +362,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 {