Add a method for getting all consent requirements pending decisions.

Review Request #9934 — Created May 14, 2018 and submitted

chipx86
Djblets
release-1.0.x
26fa7a1...
djblets

This introduces BaseConsentTracker.get_pending_consent_requirements(),
which returns a list of all ConsentRequirements that the user hasn't
decided upon yet. This can be used to list those requirements to the
user or to quickly check if new consent is needed before redirecting the
user to an appropriate consent form.

Unit tests passed.

Tested with another change and verified that I got the correct set of
consent requirements back.

david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-1.0.x (afcf8d1)
Loading...