grist-core icon indicating copy to clipboard operation
grist-core copied to clipboard

"Insufficient access to document to copy it entirely" for Owner

Open jperon opened this issue 1 year ago • 3 comments

With both stable and latest versions of gristlabs/grist docker image, I’m not able any more to duplicate a document. The error arises even when I check "Allow everyone to copy the entire document…". I think the problem is quite recent though, because my "previous stable" image (before launching docker pull gristlabs/grist:stable) did work as expected.

jperon avatar Nov 27 '23 09:11 jperon

Hi @jperon, thanks for reporting this. Is this for all documents or a specific document?

paulfitz avatar Nov 27 '23 15:11 paulfitz

I looked a bit further, and it seems to affect all documents that don’t have public access enabled.

jperon avatar Nov 27 '23 16:11 jperon

Trying to replicate. Can't replicate yet with a plain docker run -p 8484:8484 -it gristlabs/grist for latest. Tried:

  • Creating a new document.
  • Hitting Share icon -> Duplicate Document -> Accept default settings.

Document duplication is a bit unusual in that it relies on an internal call from the Grist server to itself within the container. We have seen cases before where DNS settings within the container were such that this would fail (there is an APP_DOC_INTERNAL_URL setting that can be helpful in that case). Not sure if that is what is hitting you - it doesn't really match the fact that this started failing after an upgrade.

paulfitz avatar Nov 27 '23 16:11 paulfitz