Skip to content

Harden loan API security and Celery reliability - #1

Merged
SayojyaPatil merged 1 commit into
mainfrom
feature/security-reliability
Oct 23, 2026
Merged

SayojyaPatil merged 1 commit into
mainfrom
feature/security-reliability

Conversation

@SayojyaPatil

Copy link
Copy Markdown
Owner

Summary

Strengthens the Loan Processing Platform with authenticated API access, owner-scoped resources, more reliable Celery processing, and improved Docker security.

Changes

  • Added authenticated, owner-scoped access to loans, documents, processing jobs, and underwriting recommendations.
  • Added loan ownership migration with staff-only visibility for unassigned legacy loans.
  • Added document validation and duplicate-submission protection.
  • Improved Celery job claiming, retries, terminal failure tracking, and idempotent processing.
  • Configured Django and Celery to run as non-root Docker users.
  • Improved Docker environment configuration and build-context exclusions.
  • Updated README and local development instructions.

Verification

  • 16 automated tests passing.
  • Django system checks successful.
  • No new migrations required.
  • End-to-end synthetic loan processing verified with PostgreSQL, Redis, and Celery.
  • Cross-user resource access correctly rejected.
  • Duplicate submission correctly rejected.

@SayojyaPatil
SayojyaPatil merged commit ff0451c into main Oct 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant