Plan for 390 homes in Ripon set for final approval