iterate parents to find authority