From c271e3f06efc169c1e04032d0d042e81d45723d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 21 Aug 2020 16:40:28 +0200 Subject: Set proper user for federated editing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- lib/Controller/WopiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php index fd5046c0..e9c87e14 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -393,7 +393,7 @@ class WopiController extends Controller { } // Set the user to register the change under his name - $this->userScopeService->setUserScope($wopi->getEditorUid()); + $this->userScopeService->setUserScope($wopi->getUserForFileAccess()); $this->userScopeService->setFilesystemScope($isPutRelative ? $wopi->getEditorUid() : $wopi->getUserForFileAccess()); try { -- cgit v1.2.3