She violated company policy. End of story. You don’t have to like company policy, but if you’re an employee, you disregard it at your own risk. That’s my libertarian view, for what it’s worth.
It is true that you disregard company policy at your own risk, but this is not an issue as to whether an entity has a right to make policy, but that of an employee violating an immoral aspect of policy, which many noble souls have done as a matter of principled dissent.
Obedience to man is always conditional on obedience to God as revealed in the Scriptures, and which requires submission to the laws of man in general, but not unconditional obedience which cults enjoin, while on the other extreme you have anarchist and those whose disobedience is based on ignoble principles.