Web UI: hide /.trash from the file browser (Deleted files has its own view) #75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Dogfood finding (Nikola, 2026-07-30):
.trash/shows up as an ordinary folder in Personal.Why it appears: the trash decorator hides
/.trashfrom non-admins only, and admins are unscoped — so an admin's Personal view is the backend root,.trashincluded. Correct at the storage layer (admins need raw access for "empty trash" and recovery), wrong as UX: trash has a dedicated Deleted files sidebar view, and browsing the raw entries — opaque<id>.data/<id>.metapairs — is never what someone wants from the file list.Fix in the web UI: filter the
.trashentry out of directory listings and search results. Raw access stays available over the admin API/WebDAV for the operator paths that need it, and the Deleted files view is unaffected.