Dude, you're an employee. If management doesn't respect you, look elsewhere. You're working in IT, it's not like you can't change work. You'll risk getting less money, but if you're happier who cares?
(Edit: typo corrected, thanks kaapipo)
I think my main point still stands: you can't always just pack up your things and leave (or rather, you can, but the consequences aren't always a simple job hunt, sometimes they involve relocating internationally) so you may be willing to tolerate more abuse or conditions that are less than perfect for you.
I will no longer work for those sorts of companies.
My manager doesn't have much control of the WFH thing, it's the CEOs directive. I'm just a junior engineer with not much sway so my remote request was denied by their bosses boss who has never met me.