I don’t think that the President of the United States set the policy for the Marines guarding the gates to their own base, to keep the magazines out of their rifles.
Besides, the security of the Marine headquarters should not depend solely on two guys having to insert a magazine before trying to stop a truck coming to blow up the high rise barracks and kill 241 people.