Update the consent view decorator/mixin to check for policy requirements
Review Request #9976 — Created May 23, 2018 and submitted — Latest diff uploaded
Information | |
---|---|
brennie | |
Djblets | |
release-1.0.x | |
|
|
cb24d21... | |
Reviewers | |
djblets | |
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.