KamoCRM

Loan-file status accessor for borrower edit-lock, borrower-delete cascade, gift-recipient app scoping

Fixkamo-shared-library
Shipped
7 ஜூலை, 2026 அன்று 8:39 PM UTC
Author
Kamo
Commit
c649941

**************** orgId): read helper backing the borrower post-submission edit lock (a borrower may only edit the URLA while the file is DRAFT). **************** deletePair/deleteBorrower now remove every per-borrower child row **************** **************** before the delete. Borrower has no cascade to these and bootstrapBorrower ALWAYS creates a Declarations + HMDA row, so a bare delete FK-failed every time (a mis-added borrower could never be removed). applyGift: resolve the gift recipient via findByUidAndAppMortgageUid scoped to the gift's own app instead of a bare findById — a caller could otherwise point the gift at another app's/org's borrower uid (cross-app IDOR / dangling FK).

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