Refactored the user's service to use the staff tables for roles instead. This now allows a "role" filter for the users endpoint.
Have moved the auth check for the pages to a withProtected component instead of using the middleware due to an issue with accessing the database in the middleware.
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.
[x] The pull request title has an issue number
[x] The change works by "Smoke testing" or quick testing
[ ] The change has tests
[ ] The change has documentation
Other Information
Will look at writing automated tests but this can be merged in prior to that.
Added a button in the profile popover to set current user as admin. (Only shows up on dev).
Change Summary
Change Form
Fill this up (NA if not available). If a certain criteria is not met, can you please give a reason.
Other Information