390 homes approved in Ripon despite concerns over impact on Fountains Abbey