Closed plocket closed 4 years ago
I think this is the issue: https://docassemble.org/docs/documents.html#permissions
I've never run into this before. I have no problem opening up the link you sent me because I'm logged in as an administrator. You should have no problem opening it up in the same browser that you used to create the attachment. The problem is opening it up from a different browser/not logged in. If I try to open it in icognito mode, I get the same error you received.
I think this behavior is probably correct. It would be easy for someone to guess that link, and it would not be safe if people tried to download, e.g., the confidential information page by generating 4 sequential numbers.
We need to figure out how we want to handle this. We could turn off file permissions so anyone with the link can view it, but I don't think that's safe. We could recommend people log in to a session, or we could recommend they use the email link on the screen, not emailing themselves a link to the PDF using the iPhone's browser method of opening the PDF.
Can we confirm that:
It occurs to me that we could also make the filename more unique by adding a GUID of some kind to it, but that would make the download file slightly less friendly. It could add enough security to make it safe though.
One suggestion is to add text that says "If you have problems downloading this file, use the send to email link below to send yourself the form".
Working on getting a reproduction of the issue, but it currently looks like might have to do with the OS version.
I don't think this can be considered a showstopper yet--let's please reproduce it first!
I agree with @nonprofittechy, I couldn't reproduce on my iPhone. My guess is that it may have to do with the iOS change to how it saves files a few versions back. That being said, if this is the issue, the workaround @nonprofittechy suggests should do the trick. See https://github.com/SuffolkLITLab/docassemble-MAVirtualCourt/issues/147#issuecomment-625247416
Two more reports of similar behavior, but without many details.
For the first: "When I tried to save the document using safari I got a blank pdf"
For the second, the browser used was Chrome, but there were no more details.
Trying to get further information.
The problem with Safari happened when the link to the interview was clicked in Slack. Whether that was the cause or not is unclear.
Anonymous links do not work. This is a security measure
I'd really need to understand a real use case that justifies disabling it. It sounds like this is an artifact of the test
On Sun, May 10, 2020, 8:27 AM plocket notifications@github.com wrote:
The problem with Safari happened when the link to the interview was clicked in Slack. Whether that was the cause or not is unclear.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SuffolkLITLab/docassemble-MAVirtualCourt/issues/147#issuecomment-626320531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2KTSMUPOB2Y4MHG7B3FQLRQ2MR5ANCNFSM4M26K3CQ .
This keeps getting re-opened, but now I think I have a little more clarity that it's because we distributed links with &reset=1 embedded, which made it easy for people to delete an existing session.
Survey result on row 48
Report type: I'd like to describe a test case.
Bug
Confusion feedback
Something else
Uncategorized Feedback:
Test report
I had to download adobe acrobat for my iphone in order download and examine the PDF, and then it finally worked. Link | Pic | https://drive.google.com/open?id=1EV4Fb6a-j2QPeMFgtRNkHbGpAQyIGPWa Notes | The document I uploaded was what was saved to my iCloud account.
Error message
Thank you!