A lawyer formerly with New York City's Corporation Counsel can continue his civil rights lawsuit against City Hall, a judge has ruled.