A proposal to convert a Hastings property into shared accommodation has been given the green light by borough councillors.