From 7cc4a0e59f47de343af65065142c1ad505323e40 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 28 Sep 2025 17:31:51 +0200 Subject: [PATCH] fix(live-photo): Allow files-live-photo meta data with edit permissions Signed-off-by: Joas Schilling --- apps/dav/lib/Connector/Sabre/FilesPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dav/lib/Connector/Sabre/FilesPlugin.php b/apps/dav/lib/Connector/Sabre/FilesPlugin.php index 843383a0452a5..eed57ee0be8eb 100644 --- a/apps/dav/lib/Connector/Sabre/FilesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/FilesPlugin.php @@ -693,7 +693,7 @@ function (mixed $value) use ($accessRight, $knownMetadata, $node, $mutation, $fi private function initFilesMetadataManager(): IFilesMetadataManager { /** @var IFilesMetadataManager $manager */ $manager = \OCP\Server::get(IFilesMetadataManager::class); - $manager->initMetadata('files-live-photo', IMetadataValueWrapper::TYPE_STRING, false, IMetadataValueWrapper::EDIT_REQ_OWNERSHIP); + $manager->initMetadata('files-live-photo', IMetadataValueWrapper::TYPE_STRING, false, IMetadataValueWrapper::EDIT_REQ_WRITE_PERMISSION); return $manager; }