Get rid of unnecessary view.
Enable some permissions checking.
simplify for rules variable keys
Rearrange some code to make it clear what is and isn't needed for the new ui.
Switch tests to /api, fix failures.
Switch more tests over.
Merge remote-tracking branch 'peterbe/restish-api' into balrog-ui-backend
Remove unwanted exception.
Add more deprecation notes.
Move permissions tests to new endpoints.
Improve coverage for permissions page.