If the owners/admins of a self-hosted Discourse are asked to cooperate with an investigation by LEOs and provide copies of personal messages between particular users, is there a guide anywhere on how to do this?
Also, if the private conversation is originally between users A and B, but user B decides not to be part of it and leaves the conversation, will the message(s) still be found in searches for messages where both A and B are participants? Is it possible to identify such messages without producing all messages from A?
In which format do you need to provide these copies? PDF? Screenshots? Other?
As an admin, you can check users’ personal messages by navigating to their profile and clicking Messages. You’ll have access to the list of their personal discussions.
If they have been removed from personal discussions, you’ll probably need data explorer and a SQL query to find these topics. All messages will be preserved even if a user left.
Format isn’t an issue. The focus is thorough search while respecting privacy.
Presumably this will work if we want to have someone review all of A’s messages, but it won’t necessarily be clear which messages originally included B, since B has left.
I think we’ll need to do some SQL work to identify the right sets of messages.
I understand the issue and yes, some SQL work will do the job.
Looking for action_code = 'user_left' in the posts table contains the corresponding topic_id. Data explorer is convenient because it automatically creates links to profiles and topics or posts in the results: