Administration officials weren't immediately sure which countries' citizens would be barred from entering the United States. The Department of Homeland Security was left making a legal analysis on the order after Trump signed it. A Border Patrol agent, confronted with arriving refugees, referred questions only to the President himself, according to court filings.
. . .
It wasn't until Friday -- the day Trump signed the order banning travel from seven Muslim-majority countries for 90 days and suspending all refugee admission for 120 days -- that career homeland security staff were allowed to see the final details of the order, a person with the familiar the matter said.
. . .
The policy team at the White House developed the executive order on refugees and visas, and largely avoided the traditional interagency process that would have allowed the Justice Department and homeland security agencies to provide operational guidance, according to numerous officials who spoke to CNN on Saturday.
Homeland Security Secretary John Kelly and Department of Homeland Security leadership saw the final details shortly before the order was finalized, government officials said.
Friday night, DHS arrived at the legal interpretation that the executive order restrictions applying to seven countries -- Iran, Iraq, Libya, Somalia, Syria, Sudan and Yemen -- did not apply to people who with lawful permanent residence, generally referred to as green card holders.
The White House overruled that guidance overnight, according to officials familiar with the rollout. That order came from the President's inner circle, led by Stephen Miller and Steve Bannon. Their decision held that, on a case by case basis, DHS could allow green card holders to enter the US.