Created attachment 124799 user: check if user is in wheel more efficiently
We currently get all the groups a user belongs to in one pass, then check each one to see if it's wheel.
It's much more efficient to just get the wheel group and check if any of its members are the user.
Created attachment 124799
user: check if user is in wheel more efficiently
We currently get all the groups a user belongs to in one pass,
then check each one to see if it's wheel.
It's much more efficient to just get the wheel group and check if
any of its members are the user.