Alta mayor upbraids code officer in public