3 ms·
And the dev wrote test cases (negative ones too!). The test fails and shows admin privileges for the normal user. Debugging ensues. I'd hope.
by sethammons 5y ago
And the dev wrote test cases (negative ones too!). The test fails and shows admin privileges for the normal user. Debugging ensues. I'd hope.
- wizzwizz4 5y agoThe test has the same kind of change. It passes, and nobody thinks to look at the obviously-correct code.