Preventing user from sharing a document that is still uploading.
Merge branch 'pitch' into testing