Add decorator and mixin for requiring consent decisions
Review Request #9948 — Created May 15, 2018 and submitted — Latest diff uploaded
Information | |
---|---|
brennie | |
Djblets | |
release-1.0.x | |
|
|
9976 | |
eba94b3... | |
Reviewers | |
djblets | |
We now provide a view decorator (
@check_pending_consent
) and a view
mixin (CheckPendingConsentMixin
) for requiring all consent decisions
to be made. If said decisions are not all made, the user will be
redirected to the URL specified in the
DJBLETS_PRIVACY_PENDING_CONSENT_REDIRECT_URL
setting.
Ran unit tests.