added middleware to redirect the user to a confirmation page whenever a study...
added middleware to redirect the user to a confirmation page whenever a study has a privacy_notice assigned, this is enforced and the user haven't accepted yet. superusers excluded
Showing
- smash/smash/settings.py 1 addition, 0 deletionssmash/smash/settings.py
- smash/web/forms/worker_form.py 11 additions, 1 deletionsmash/web/forms/worker_form.py
- smash/web/middleware.py 32 additions, 0 deletionssmash/web/middleware.py
- smash/web/migrations/0180_auto_20201120_1554.py 50 additions, 0 deletionssmash/web/migrations/0180_auto_20201120_1554.py
- smash/web/migrations/0181_worker_privacy_notice_accepted.py 18 additions, 0 deletionssmash/web/migrations/0181_worker_privacy_notice_accepted.py
- smash/web/models/privacy_notice.py 1 addition, 0 deletionssmash/web/models/privacy_notice.py
- smash/web/models/study.py 5 additions, 0 deletionssmash/web/models/study.py
- smash/web/models/worker.py 4 additions, 0 deletionssmash/web/models/worker.py
- smash/web/templates/privacy_notice/acceptance_study_privacy_notice.html 90 additions, 0 deletions...lates/privacy_notice/acceptance_study_privacy_notice.html
- smash/web/templates/study/edit.html 1 addition, 1 deletionsmash/web/templates/study/edit.html
- smash/web/urls.py 2 additions, 0 deletionssmash/web/urls.py
- smash/web/views/privacy_notice.py 29 additions, 1 deletionsmash/web/views/privacy_notice.py
Loading
Please register or sign in to comment