Kind of, but they are curtailed. I posted the link in another comment, but one example is around freedom of speech.
> One of the most visible rights gaps for service members is around speech. While civilians can openly criticize government policies or military leadership under the First Amendment, service members are subject to stricter restrictions. They risk punishment for social media posts, dissent, or public criticism of superiors.
> A prominent example is Lt. Col. Stuart Scheller, who in 2021 publicly criticized military leadership over the chaotic U.S. withdrawal from Afghanistan in a viral video. He was relieved of command soon after for a “loss of trust and confidence.” Later, he pleaded guilty to six charges under the UCMJ, including contempt toward officials and disobeying orders, and was sentenced to a letter of reprimand and forfeited pay.
The correct response to "I don't think the military ever had them." is "soldiers absolutely have constitutional rights."
Even curtailed rights are still rights. The UCMJ is subordinate to the constitution.
Civilian public employees also have stricter restrictions than a private citizen who is not a government employee. See Pickering v. Board of Education, leading to the Pickering Balancing Test for Government Employee Speech - https://www.law.cornell.edu/constitution-conan/amendment-1/p...
I believe the UCMJ as in your example uses a similar balancing analysis, though of course in a different framework.
> One of the most visible rights gaps for service members is around speech. While civilians can openly criticize government policies or military leadership under the First Amendment, service members are subject to stricter restrictions. They risk punishment for social media posts, dissent, or public criticism of superiors.
> A prominent example is Lt. Col. Stuart Scheller, who in 2021 publicly criticized military leadership over the chaotic U.S. withdrawal from Afghanistan in a viral video. He was relieved of command soon after for a “loss of trust and confidence.” Later, he pleaded guilty to six charges under the UCMJ, including contempt toward officials and disobeying orders, and was sentenced to a letter of reprimand and forfeited pay.
https://www.humanrightsfirst.org/library/beyond-the-uniform-...