588fd7d165
Optimised permission fetching so that it won't initialise a bunch of models for the role permissions and instead does a manual query to get the data directly.