[buddypress-trac] [BuddyPress Trac] #7818: Privacy: Data export for Activity

buddypress-trac noreply at wordpress.org
Fri May 11 16:12:02 UTC 2018

#7818: Privacy: Data export for Activity
 Reporter:  boonebgorges           |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  3.1
Component:  Activity               |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
Changes (by boonebgorges):

 * keywords:   => has-patch 2nd-opinion


 [attachment:7818.diff] is a first attempt at a patch.
 [attachment:Screenshot_2018-05-11_16-04-54.png] is a snippet from an
 export. Questions/comments:

 1. I've opted to include only `activity_comment` and `activity_update`. My
 thinking is that other activity types are not created directly, but as a
 result of some other action: creating a friendship, joining a group,
 updating one's profile, etc. So it feels more natural to count that data
 among those other export groups rather than here. However, I'm basing this
 on my desire to provide an export that is legitimately useful to a user.
 If the main goal is to be completist for the purpose of legal compliance,
 then perhaps we should default to providing everything. In that case, the
 internal logic could be a bit different: instead of hardcoding 'Activity
 Type' strings, for example, we could fetch that info out of registered

 2. Similarly, I've chosen only to give human-readable information about
 activity items. This means: content, date, relationships to groups and
 other activity items. It doesn't include things like `item_id` or
 `mptt_left`, except where those things are relevant for something visible,
 like a Group connection. Again, I find this more useful than a raw data
 dump, but I would like to hear other thoughts about this.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7818#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list