"Are professors allowed to take photos of their students without permission?"
Obviously, it depends who they are.
If they are a Jewish Zionist doctor backed up by wealthy donors, then I guess the answer is inherent in the tweet that prompts your question.