Periodically throughout my Army career some Commanding General, or wannabe CG, would issue orders that would restrict, or appear to restrict, the Right to Bear Arms of personnel under their command. Typically this would take the form of requiring that all personnel turn in an inventory of all firearms they owned, even if said guns never came within ten (or a hundred!) miles of any military installation. (Apparently, all personnel immediately, and informally, transferred ownership to their spouses, parents, or children.)
One Battalion Commander I had requested ordered a roster of all personnel assigned who had concealed carry permits. (Apparently none did...) Arma Borealis points out language in the National Defense Authorization bill that should stop this nonsense.