The USSC has not always agreed with that. (Another reason why Trump makes more sense than Hillary.)
Citations, please. There are no rights in the UCMJ. Officers can resign their commissions voluntarily, because their contract is an agreement to serve the Constitution. But enlisted agree to serve their officers and lawful orders, which is an agreement to a status of granted privileges and not rights.