Skip to content

Admin performance tuning for group and state

The admin pages for changing a group and changing a state are loading slowly, because they currently need to make hundreds of DB calls.

The reason is an unoptimized query for permissions (same on both pages).

This small change fixes the related permission queries. As a result the total number of DB calls drops to around 20 the load time is significantly reduced.

Edited by Erik Kalkoken

Merge request reports