Legal moralism is when a society creates laws based on the prevailing morality of that society. Stuff like "we think green houses are immoral, so we made a law to ban green houses".
Is there a term for the opposite influence? As in "if Y is legal, I have no problems with doing Y" as an individual viewpoint for moralism?