Owners of condemned buildings allowed to carry out repairs