Deleted files 1/3: trash retention setting, disable-final-deletion, auto-purge relocation (#278) #279
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Cordy/Cairn#279
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?
Part of epic #278.
Backend
trashRetention(Go duration; bounded presets in UI ~1–X months but store the raw duration so operators can set what they want) andtrashFinalDeletionDisabled(bool).trashRetention; whentrashFinalDeletionDisabledis set, expired items are marked eligible but never purged automatically — manual purge (#280) becomes the only way out.Retention & holdskeeps its Retention and Legal holds tabs only.UI (mockup-first)
New Administration topic Deleted files (
#admin/trash), Instance section, Retention tab:Acceptance
#admin/retention/autopurge(if referenced) land sensibly.Shipped as v0.6.48 (PR #282), live on both dogfoods.
As built (per the signed-off mockup): new Deleted files topic (
#admin/trash) with the Retention tab — keep-duration select first (new 60-days preset + hint), then the deliberate "Never delete automatically" checkbox (inverse oftrashAutoPurge, so checked = today's default and nothing changes on upgrade), warning notice about unbounded growth/quota pressure while checked, select disabled while checked. Manual purge and Purge log show honest stubs pointing at #280/#281. Retention & holds slims to Retention + Legal holds. Zero backend change —trashAutoPurgeAfteralready was the retention window.Dogfood checklist (fresh login needed after the roll):
#admin/trashrenders the Retention tab; checkbox arrives checked (auto-purge was never enabled here)#admin/trash/purgeand#admin/trash/logland on the stub tabs