colinmackay.scot
Ensure Controller actions/classes have authorisation
A couple of years ago I wrote a unit test to ensure that all our controller actions (or Controller classes) had appropriate authorisation set up. This ensures we don’t go to production with a…