My question involves labor and employment law for the state of: New York

I have been a salaried manager in an State of New York Agency for more than 25 years. I have had open heart surgery and implanted with a defibrillator. Against my wishes, I was placed in a light duty (restricted) status in 2006. This status prevents me from driving company cars, it does not prevent me from doing all the other assigned tasks I usually do.

In order to get promoted, one must submit a resume for the desired job and get evaluated from your immediate supervisor. My supervisor denied me because of my light duty (restricted) status (bear in mind, that I would be doing the same job I am presently doing, only a pay grade higher and there are no medical restrictions imposed on the job vacancy notice).

My question is: Can they hold the fact that I am on a light duty(restricted) status, a status that I did not want, against me? This prevented me from getting a promotional interview. Any thoughts