• 
      

    Add an extension hook for registering consent requirements.

    Review Request #9964 — Created May 23, 2018 and submitted

    Information

    Djblets
    release-1.0.x
    3373038...

    Reviewers

    This introduces djblets.privacy.consent.hooks.ConsentRequirementHook,
    which registers a ConsentRequirement, managing its registration as the
    extension initializes or shuts down. This is a very simple hook that
    just makes use of BaseRegistryHook, feeding in the registry
    dynamically on use (to avoid creating a registry unnecessarily or
    prematurely).

    Unit tests passed.

    Used this in an extension successfully.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-1.0.x (5f0d19f)