[buddypress-trac] [BuddyPress Trac] #9160: Anonymising message data for deleted users in the REST API
buddypress-trac
noreply at wordpress.org
Tue May 21 11:49:40 UTC 2024
#9160: Anonymising message data for deleted users in the REST API
-------------------------+------------------------------
Reporter: niftythree | Owner: espellcaste
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 12.5.0
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by niftythree):
Hi @espellcaste
Sure, please see below.
1. Create two accounts (e.g. David and Fred).
2. Create a private message thread between these two accounts, and send
multiple messages back and forth between the two users. See first attached
image for an example of what this could look like on the website.
3. Delete one of the users (E.g. David).
4. View the message thread on the website, using Fred's account. You'll
see that all messages from the deleted user have been anonymised to
"[deleted]", and their Name is now "Deleted User", as in the second
attached image.
5. View the message thread through the REST API as Fred, using GET /wp-
json/buddypress/v1/messages/<threadID>. You'll see that all messages from
David are still visible, i.e. they have not been anonymised. The third
attached image is an example from this thread where a message hasn't been
anonymised (i.e. the "Do you like to travel?" line).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9160#comment:2>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list