If an I-485 is pending when visa numbers retrogress or become unavailable, the I-485 will not be fully processed until the visa numbers are available for that case's priority date. The person may file for Employment Authorization Documents (EADs) and Advance Paroles (APs) as needed only while the I-485 is pending, however.
http://www.murthy.com/news/n_jul05a.html