Google Chrome/ Edge: The file cannot be updated

New Problem with PDF preview image generation, when Chrome or Edge is used.

Getting the Message Block error: "The file cannot be updated" in block type: "pdfpreview" instead of the the JPG.
The image already exists, so the fileMethod isn’t involved anyway.

But Firefox works totally fine.
Any Ideas why this happens?

For context:

I was able to isolate the problem. It’s not the browser itself, but whether I’m logged into the panel in the particular browser or not.
As an ‘anonymous’ frontend user, I do not have permission to update the file.

How can I allow a user to update the preview image?

You can use $kirby->impersonate() for that:

1 Like