Fix: admins outside the approval route can’t see in-flight forms
Problem. On a US HR SaaS platform, a system administrator who wasn’t on a form’s approval route saw one in-flight form instead of seven. A customer launch was blocked.
Root cause and scope stated in plain words, with the one function reviewers should focus on.
Tests. Fourteen new unit tests. The main one fails without the fix.
1 → 7forms visible to the administrator
- 14 new unit tests
- Main test fails without the fix
- Full suite 511 passed, 0 failed
Reconstructed from a real pull request, names removed.
