allow only uploading new document when in revision