fix-10 Performance: getRoleNamesForGroups