Add a method for getting all consent requirements pending decisions.

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

Information

Djblets
release-1.0.x
26fa7a1...

Reviewers

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.