From ccbc95f352e88691297a9cce142db10f4801249a Mon Sep 17 00:00:00 2001 From: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> Date: Thu, 19 Feb 2026 19:32:11 -0300 Subject: [PATCH] fix: store signature at right user Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com> --- lib/Service/IdentifyMethod/AbstractIdentifyMethod.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php b/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php index 3d8d9b9a70..ed1c3db10c 100644 --- a/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php +++ b/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php @@ -192,9 +192,11 @@ protected function throwIfFileNotFound(): void { $storageUserId = $this->identifyService->getFileMapper() ->getStorageUserIdByUuid($fileInfo['uuid']); $folderService = $this->identifyService->getFolderService(); + $previousUserId = $folderService->getUserId(); $folderService->setUserId($storageUserId); try { $folderService->getFileByNodeId($fileInfo['nodeId']); + $folderService->setUserId($previousUserId); } catch (NotFoundException) { throw new LibresignException(json_encode([ 'action' => JSActions::ACTION_DO_NOTHING,