Can my work legally do this?

nys will tell you any employee is able to be terminated unless there civil rights are violated