There is no academic context here in the parent comment, only social context. This example would fit the topic if it were about writing a thesis on reparations that was rejected or if the author was actively dissuaded from writing it.
And now for a case of real infringement of academic freedom:
https://quillette.com/2018/09/07/academic-activists-send-a-p...
I think we'll probably all agree that the juice isn't really worth the squeeze here, though.