Improve performance when detecting which groups are shared groups
Description
Wildfire is currently loading all groups to detect which ones are shared groups. Instead we can make a db query to detect which groups (names) are shared and then request the group provider to load those groups. And we should also cache this information.
Wildfire is currently loading all groups to detect which ones are shared groups. Instead we can make a db query to detect which groups (names) are shared and then request the group provider to load those groups. And we should also cache this information.