Changes between Version 17 and Version 18 of S3/ConsentTracking


Ignore:
Timestamp:
06/12/19 08:13:09 (6 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/ConsentTracking

    v17 v18  
    7070=== Post-processing the Widget ===
    7171
    72 After successful form submission, the consent response must be post-processed in order to get recorded.
    73 
    74 This post-processing requires a {{{person_id}}} for the person in question, so the post-processing can only happen after the person record has been established.
     72After successful form submission, the consent response must be post-processed in order to get recorded. For this, a {{{person_id}}} for the person in question is required, so the post-processing can only happen after the person record has been established.
    7573
    7674To post-process the response, simply pass it to {{{auth_Consent.track}}} (a class method, instance not required):
     
    7876auth_Consent.track(person_id, form.vars.consent_question)
    7977}}}
     78
     79This will record the new response, and expire previous consent records of that person for the same processing types.
    8080== Checking for Consent ==
    8181