The employee was not under his direct supervision, but the relationship violated the company’s code of conduct.