Changes between Version 17 and Version 18 of S3/ConsentTracking
- Timestamp:
- 06/12/19 08:13:09 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
S3/ConsentTracking
v17 v18 70 70 === Post-processing the Widget === 71 71 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. 72 After 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. 75 73 76 74 To post-process the response, simply pass it to {{{auth_Consent.track}}} (a class method, instance not required): … … 78 76 auth_Consent.track(person_id, form.vars.consent_question) 79 77 }}} 78 79 This will record the new response, and expire previous consent records of that person for the same processing types. 80 80 == Checking for Consent == 81 81