Ensure Controller actions/classes have authorisation

added by Paul Wheeler
8/20/2018 1:36:45 PM

1 Kicks, 1482 Views

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 new controller or action that falls back to the default authorisation. We must think about this and explicitly apply it.