-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing Journalist Codename causes old content to be hidden #238
Comments
More info about bugThe filenames in the Proposed solutionAs discussed with @redshiftzero, we don't need to update the names of old submissions in the |
The proposed solution above would change the current behavior of SecureDrop since it is a server-side change. Current Behavior on the journalist interfaceHere you can see New Behavior on the journalist interfaceHere you can see Behavior on the clientCurrently you don't see the filenames on the client, but the filenames would show up when the journalist needs to select documents to download or to view. |
Ahh thanks for digging into this @creviera. So I forgot that the server side was renaming files, but it makes sense since journalists who renamed sources mid-conversation using Tails could otherwise be very confused. This is because without renaming files, their correspondence (kept in a folder on their airgapped secure viewing station) would have an odd discontinuity like It's worth noting that even with renaming files on the server side, the journalist designation changing can still lead to confusion if the journalist does not re-download the entire conversation and bring the renamed files across the airgap, meaning that they will still have this discontinuity. Given this is a server-side behavior, it seems like the most reasonable thing to do is to copy the server-side behavior here in the client: that is, when the journalist designation changes, to rename the files locally. This is being done on the database level as you correctly point out, but the missing piece is to rename the files in the client data directory. What do you think? |
@redshiftzero - Ah, I see. So the filenames help the journalist group submissions together after they've been transferred to the air-gapped secure viewing station.
Good point, and good user story. Luckily, with the client and unified workstation, this will be less of an issue since there will be fewer file transfers from the Qubes workstation (only a transfer to the publishing area is needed, I believe). I agree that we should provide feature parity with the journalist interface + SVS, which means changing the journalist designation as well as the files on the filesystem, and then do more user research! :) |
Steps to reproduce
Expected behavior
The client updates the source codename and retains all messages/documents
Actual behavior
(On
master
, 660f5a0, development environment)The client shows "Content deleted" overlays for previously received messages. Subsequent messages from the same Source are successfully synchronized.
The text was updated successfully, but these errors were encountered: