There's a disputed passage somewhere where Rand argues something like:
It's right for a man to do X, therefore he has a right to do X.
Where X is some virtuous behavior generally necessary for human survival.
The 2 occurrences of the word "right" are a bit different in meaning, the first being ethical, the second political.
Some have worried that her argument implies that one ONLY has a political right to do ethical things. But this reading of the argument sounds rather unlikely, since she morally condemned all sorts of things, but thought most of them should be perfectly legal.
Her argument still makes sense if she simply thought that virtuous activities should generally be legal, as well as many - but not all - forms of bad behavior.
She thought committing force or fraud
Should be outlawed.
Otherwise, you're free to will
Good or ill.
But when you choose unvirtuous stuff,
Life gets rough.