[wp-trac] [WordPress Trac] #43797: Logging for GDPR privacy/security

WordPress Trac noreply at wordpress.org
Wed Jun 20 06:54:31 UTC 2018


#43797: Logging for GDPR privacy/security
-------------------------------------------------+-------------------------
 Reporter:  xkon                                 |       Owner:  xkon
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Privacy                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  gdpr 2nd-opinion has-patch privacy-  |     Focuses:
  roadmap                                        |
-------------------------------------------------+-------------------------

Comment (by dejliglama):

 An update on where we're headed in a test setup internally.

 ----

 **Step 1**

 Pseudo coding a bit here :

 Log_function (email, action, status);
 //3 strings are required, e-mail being a unique identifyer, action is the
 hook that has been run, and status is a string detailing the intend and
 status of the action (remove, delete, revoke, failed, deleted...  and so
 on).

 The email is hashed into a key - this makes the log entry anonymized
 A date for the entry is also stored.

  -----

 **Step 2**

 Fetch_log_Function (hash, date-range);
 The function takes a hashed value (so an e-mail, that is hashed, so that
 we can match it in the log).
 Date start and Date end.

 The function returns an array of entries within that daterange where there
 is a match on the hash.
 Sort by date

 --------

 **Step 3**

  - Save it somewhere outside of WP database  - since it cant be a part of
 the database it's trying to govern.

 -------

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43797#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list