It can go even further. Most of us accept a "their house, their rules" concept, I do, and I expect you to, when you are in MY house.
Most of us understand how our employers "own" us from 9-5 (or whatever your shift is), BUT, we're not bound by their rules when we are on our own time.
Right?
Unfortunately, less and less in America, today. And, especially the further above entry level employment that you go.
Many companies are taking (or have taken) the stance that since you work for them, your behavior, on, and OFF the job represents the company.
Anything that THEY consider reflects poorly on them, can cost you your job these days. Particularly if your job is something with a public presence. Look at all the people in entertainment/sports that lose huge contracts because they SAID something someone found offensive.
They my only pay you for an 8hr shift, but they OWN you 24/7. Disagree with that? Fine. Go find another job. IF you can....(once we put the word out...)
Once upon a time in America, what you did off the job was considered to be your private business (providing you broke no laws). Not that way today, for a lot of jobs. Check that employee rulebook carefully. Once company I know of had in their rules "employees are not allowed to possess firearms, except in the course of their official duties". I asked if this meant at home, as well, and the answer I got back was "not yet...."
the more this goes on, the happier I am that I'm retired...