Absolutely. The prisoners deserved much worse than they got.
That doesn't change the fact that she violated orders and that her misconduct was not only prejudicial to good order and discipline, but also gave our enemies valuable propaganda. For that, she was a disgrace to the uniform and is rightfully being punished.
What orders? What orders did she violate?