Don't try to upload files if no file editing access for library

This should fix https://forums.zotero.org/discussion/29149/ and probably
some other things.