Activist Marina Mahathir was not allowed to enter a public university after an invitation to speak by students.