Consolidate controller session/rights/response helpers in BaseLosController

RefactorSecurityService
Shipped
May 15, 2026 at 9:11 PM UTC
Author
Kamo
Commit
75d4ad9

Six LOS-area controllers (MortgageApp, MortgagePipeline, MortgagePricing, MortgageDisclosure, MortgageHmda, WebhookSubscription) each copied the same ~80 lines of **************** code plus the **************** response builders. New BaseLosController centralises all of it and adds a hasAnyRight varargs helper that the per-controller right-bundle checks now use, so the only controller-specific code that survives is the bundle definitions themselves.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing