[buddypress-trac] [BuddyPress Trac] #7826: Privacy: "Settings > Data" page
noreply at wordpress.org
Sat May 12 06:27:13 UTC 2018
#7826: Privacy: "Settings > Data" page
Reporter: r-a-y | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 3.1
Component: Settings | Version:
Severity: normal | Resolution:
Keywords: has-patch |
Comment (by r-a-y):
Attached is a first pass at a "Settings > Data" page.
This requires testing on WP 4.9.6 or latest WP trunk.
This is what the patch looks like:
This is shown when a user has never requested a data export before.
For the listing of items, this is done dynamically and is pulled from the
list of registered WP data exporters. Once we register BuddyPress as a
data exporter, their items will be displayed here as well.
I had to filter the items because they are meant to be seen in the WP
admin dashboard. For example, `WordPress User` is changed to `User
profile` and `WordPress Comments` / `WordPress Media` is changed to
`Comments` / `Media`. The reason I did this is for whitelisting purposes
and that users do not know (or care) their content is from WordPress.
However, this might not conform with GDPR if this needs to be spelled out
explicitly. If that is the case, then I'll remove this part of the code
in a later patch.
When the user clicks on this button, we auto-confirm the request. This
differs from what WordPress does as a site admin has to create the initial
request. Next, an email is sent to the user so they can confirm this data
export request. We don't have to worry about this since the user is
initiating the data export request themselves.
This is shown when a user has requested a data export, but the site admin
has not confirmed the request yet.
This is shown when the data export is ready.
Luckily, I didn't have to write too much code for this. We might have to
tweak the template parts for Nouveau, but I think this is a good first
We might also want to add a "Data Erase" section on this page as well to
mirror the other portion of what WordPress has done for GDPR.
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7826#comment:1>
BuddyPress Trac <http://buddypress.org/>
More information about the buddypress-trac