Changes between Version 16 and Version 17 of S3/ConsentTracking


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

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/ConsentTracking

    v16 v17  
    7070=== Post-processing the Widget ===
    7171
    72 ''[tbd]''
     72After successful form submission, the consent response must be post-processed in order to get recorded.
     73
     74This 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.
     75
     76To post-process the response, simply pass it to {{{auth_Consent.track}}} (a class method, instance not required):
     77{{{#!python
     78auth_Consent.track(person_id, form.vars.consent_question)
     79}}}
    7380== Checking for Consent ==
    7481