fix how inviting users affects city.city_has_roles