N.Y. Election Law § 3-304
2. No board of elections employee shall remain on the board of elections payroll while also a candidate for an office who has an election overseen by the board at which they are employed, without prior authorization by a majority vote of the board of elections commissioners and in accordance with the rules and regulations of the state board.