KamoCRM

Removing a disclosure document keeps its file (soft delete, never a MinIO delete) (MS phase I)

Fixkamo-shared-library
Shipped
November 15, 2026 at 5:34 AM UTC
Author
Kamo
Commit
ddbf6d1

**************** deleted the document's MinIO object and its row, against the platform rule that MinIO objects are never deleted. It now marks the row removed (REMOVED_AT, REMOVED_BY_MEMBER_ID) and keeps both the row and the object; a removed document no longer lists on its set (DisclosureSetDTO) and can't be opened or removed again (findByIdAndOrganizationId skips it). Storage usage still counts it, because it is still stored. The columns were added by hand as kamo (sdd/mlosset/ledger/I-ddl/001) before this push.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing