Is it fair to infringe on students rights for the sake of the learning environment? Why or why not?

Which students' rights do you want to infringe on? The rights of those students who want to get an education? Or ... ?