Read my lips. Corporations are citizens.
If a citizen has the right to prevent a woman from coming into her house with a gun in her purse, then a corporation has the right to prevent you from parking in their parking lot with a gun in your trunk.
In our Orwellian world, that is probably the case in our "edicts".
That doesn't make it right, nor moral.
Not really, they have some "rights", but only as defined by law and subject to changes in the law. They do not have the right to vote for instance. A corportion cannot be incarcerated. In many cases even it's officers and managers are protected from legal consequences of their acts in the name of the corporation. Even the owners of the corporation, that is the stockholders, are only at risk for their actual capital invested, not for any damages the corporation might cause, nor for any debts the corporation might incur.