Changes between Version 10 and Version 11 of RightToErasure


Ignore:
Timestamp:
May 8, 2018, 10:13:21 AM (7 years ago)
Author:
Kevin Reed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RightToErasure

    v10 v11  
    176176   * token ( delete from token where userid = ? )
    177177   * user ( delete from user where id = ? )
    178  * Note that rows in the following are not deleted because these will be deleted in due course and are necessary for technical operation of the system:
    179    * result (remove hostid from it though)
    180 
     178==== Result Table ====
     179The removal of userid and hostid from the result table is challenging as the host and user records are used in computing credit and other stats.  In order to keep things as straight forward as possible, the following logic will be implemented at the time the user deletes there account:
     180* Any results that are in server state RESULT_SERVER_STATE_IN_PROGRESS and assigned to the user will be set to server_state RESULT_SERVER_STATE_OVER, outcome RESULT_OUTCOME_CLIENT_DETACHED, validate_state = VALIDATE_STATE_INVALID and the transitioner will be triggered for the result
     181* Any results that are in server state RESULT_SERVER_STATE_OVER and outcome RESULT_OUTCOME_SUCCESS and validate_state VALIDATE_STATE_INIT or VALIDATE_STATE_INCONCLUSIVE and assigned to the user will be set to server_state RESULT_SERVER_STATE_OVER, outcome RESULT_OUTCOME_CLIENT_DETACHED, validate_state = VALIDATE_STATE_INVALID and the transitioner will be triggered for the result
     182* The validator, assimilator and transitioner will be examined to make sure that other status are handled properly
    181183
    182184