Ill just leave this right here...
Executive order 13,526 WRITTEN BY OBAMA states that the president can
share classified info with whomever he wants to. Because he is the head
of the executive branch it is the right of the president to classify or
declassify info as he sees fit, no law against it.
(2) Classified information originating in one agency may be
disseminated by any other agency to which it has been made available to a
foreign government in accordance with statute, this order, directives
implementing this order, direction of the President, or with the consent
of the originating agency. For the purposes of this section, ‘‘foreign
government’’ includes any element of a foreign government, or an
international organization of governments, or any element thereof.
This is the Law