I don't really follow. The claim wasn't that she did something she wasn't allowed to do, by law. The claim is that she crossed moral lines by choosing to do so. Or am I missing some context here?
Or do you have a different meaning on what discretion means? Legally and otherwise.
As an example, defending someone that had such generally agreed poor discretion is not, generally, showing good discretion either.