Plans lodged as part of efforts to repair an historic York building deemed internationally significant have been approved.