The job was partly about _disinfecting surfaces_ in _schools_ in the midst of a _pandemic_ ; I'm not saying that makes it excusable, or that this case shouldn't have been dealt with better, but in the context of governmental contract tracing apps, lockdowns, constant and various limitations put on freedom of civilians in order to fight the pandemic, I think we can see how even a good willed employer might (wrongly) feel entitled to demand such a thing.
Privacy in the midst of emergencies (we can debate the exact scope of the emergency at hand of course) can be a slippery thing.