George Washington was the first president to take military action without congressional approval, so on the sense of precedent providing legality, it's quite an old concept.