The event emptied many ecological niches , and allowed the dinosaurs to assume the dominant roles in the Jurassic period . This event vacated terrestrial ecological niches , allowing the dinosaurs to assume the dominant roles in the Jurassic period .