Optimize query for User#groups_through_project_authorizations
Instead of plucking paths, and doing LIKE/OR on each of them, use a subquery to
find groups that are the ancestor of the projects the user is member of.
Showing
Please
register
or
sign in
to comment