Files
Ghassen kefi 56516dd474 fix(admin_audit): log the real and owner path of files in shares and group folders
File entries only contained the path as seen by the acting user, so
access to a file through a share or inside a group folder could not be
traced back to where the file is stored.

File and preview entries now add the location of the file in its
storage as "realPath" (relative to the data directory on local storage,
e.g. "__groupfolders/1/files/a.txt", otherwise prefixed with the storage
id) and append it to the message. Files in home storages are left as
they are. Files accessed through a share also get "ownerPath", the path
as seen by the share owner. Copy and rename entries get the old/new
variants of both.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ghassen kefi <ghassen.kefi.dev@gmail.com>
2026-10-29 21:02:39 +01:00
..