Sorry, but I think your wife's actions were totally inappropriate in her job description, and her firing was justifiable.
If her superiors thought it was inappropriate and or against the rules, a simple reprimand, or warning would have been the fair way to resolve this (given the level of the "offense"), particularly since for two and a half years, she had a perfect record.