I think I'm a bit old school. My outlook can be summed up like this: If you like your job, and you want to keep your job, you'll do what your boss asks unless it's illegal or immoral.
So if my boss told me I had to work in an office, I'd weight that against the "if you want to keep your job" portion of the above, and decide if that's for me. If not, I quit and go find something where WFH is an option. If so, I go work in the office. Most likely I'd work in the office until I found something else or management realized that they were losing employees and changed the policy (I suppose in that way we can "force" the business to conform to our whims).
Perhaps that's a privileged point of view, or makes me a drone. But my life isn't work; I work to live, not live to work, so minor inconveniences at work don't derail my life; it's just a job, something I do to afford more important things.
For the record, I've worked from home for the last 9 years, and I have coworkers who had a really tough time adapting to WFH; they had to weigh if the trouble to change was worth it for them. Some felt it wasn't worth the trouble and left, many found it was and stayed.