>>95886232
Depends on the edition. In OD&D, wisdom and intelligence gives the DM the power to veto or encourage your actions by default. Yes, "you can't do that, you are stupid" was core rules.