It is a violation, but this person should think about the type of environment they want to work in.
Indeed.