Update the consent view decorator/mixin to check for policy requirements
Review Request #9976 — Created May 23, 2018 and submitted — Latest diff uploaded
The
@check_pending_consent
andCheckPendingConsentMixin
now check
the registry for the presence of aPolicyConsentRequirement
instance
and, if found, ensure that the policy has been accepted. If the policy
has been rejected, the decorator/mixin will redirect to the pending
consent URL.
Ran unit tests.