The Reopened Loan

Workflow invariants / resource ownership · intermediate · MERN stack

An equipment request can appear approved after its borrower has cancelled it. Borrowers have also reported seeing or changing requests that belong to someone else, even though the account switcher shows their own identity.

The bug report

You get the whole project — a React front end, an Express API, and Mongoose models — opened in a browser editor. Reproduce the symptom by reading the code, change what’s wrong, and run the hidden tests to prove it.

What the fix must prove

Related challenges

Log in to open this challengeCreate an account