Can be part of #870 - refactoring existing views to use register_routes().
I'm going to put the new check_permissions() method on BaseView as well. If I want that method to be available to plugins I can do so by turning that BaseView class into a documented API that plugins are encouraged to use themselves.
Originally posted by @simonw in #832 (comment)
Can be part of #870 - refactoring existing views to use
register_routes().