Implement IP filtering in embargo middleware.
Add history table for course access rule changes. Provide test utility for simulating restricted access. Provide `redirect_if_blocked` method for integration with other parts of the system (will be used for blocking enrollment). Add info-level logging explaining when and why users are blocked.
Showing
common/djangoapps/embargo/exceptions.py
0 → 100644
common/djangoapps/embargo/test_utils.py
0 → 100644
common/djangoapps/embargo/tests/test_api.py
0 → 100644
Please
register
or
sign in
to comment