We have a user who uploaded a pdf to a conversation. The user then deleted the conversation and noticed the PDF is still accessible via the link. Is it possible to delete this PDF?
We have a user who uploaded a pdf to a conversation. The user then deleted the conversation and noticed the PDF is still accessible via the link. Is it possible to delete this PDF?
There is an API endpoint that can help with this: Delete Media REST Endpoint
Ok...so that endpoint deletes media items...NOT pdfs added to a conversation. Ben Tiedt Michael Monteleone
A conversation is only deleted when all participants delete the conversation, until then, the participants who decided to leave/delete are flagged as inactive.
To access files embedded within a conversation, a user must be a participant in the conversation (and the conversation must exist).
When not all participants have left/deleted the conversation, all participants (ever) are associated to the conversation and can still access files within the conversation (the validation checks that the user is a participant, but not that they are currently active).
When the conversation has no active participants, it is deleted and no participant should have access to the files that were embedded within the conversation.
I have logged a bug to ensure that inactive participants do not have access to files embedded in the conversation:
Thanks Ben. I don't think this is a bug then. We had one user delete the conversation, but then complain he could still access the file. If this is by design we can let him know how it works.