Add internal API endpoint for deleting lockouts
- Feb 18, 2025
-
-
Sebastiaan ten Pas authored
- changing DATA_MANAGER_ENABLED to INTERNAL_API_ENABLED
-
Part of #37 (closed)
Adds a new endpoint /lockout/
that's only available on the internal API that allows listing, viewing and deleting lockouts.
Struggle to think of any tests that I can add because it's all pretty simple DRF code and any tests would simply test internal working of DRF that's already tested by the library itself.
This MR needs to be paired with a MR to change DATA_MANAGER_ENABLED
to INTERNAL_API_ENABLED
: https://gitlab.developers.cam.ac.uk/uis/devops/iam/activate-account/infrastructure/-/merge_requests/112
- changing DATA_MANAGER_ENABLED to INTERNAL_API_ENABLED