they are to do it the way the employer wants. If the employee doesn't like the rules and conditions, they are free to leave.
I think this has been somehow changed in recent year due to the pandemic and the mindset of GEN Z. Working remotely has been a reality and an employee can demand it. To me, if a task can be done in time, it can be done anywhere, if possible.