Employers can legally discriminate against workers for some reasons, but not others. An employer may have a legitimate business reason for giving a raise to one worker and not another, or for firing one worker and not another. But certain types of discrimination are illegal under federal and state laws. For example, it is illegal for an employer to fire a worker on the basis of the worker's race or religion.
Sexual harassment in the workplace does not have to be tolerated. Recent legislation in California lowered the minimum number of employees required for an employer to provide sexual harassment prevention training. Sexual harassment training is now required when employers have at least five employees rather than the previous number of fifty. Participant requirements were also extended to all employees and not just supervisory employees. In addition, sexual harassment awareness training is required every two years. There are also some criticisms including that in-person trainings are not required.