Implement protected IPs feature.

  • Added textarea form field to module settings form. /admin/config/people/advban/settings
  • Added validation of IPs in new form field.
  • Added validation to modules admin form. /admin/config/people/advban
  • Updated .schema.yml file with new config key for storing list of protected IPs.
  • Added a method that verifies whether an IP is protected.

Testing steps:

  1. Add some protected IPs in module settings form.
  2. Try to add protected IP in modules admin form.

Closes #3544163

Edited by Jernej Mramor

Merge request reports

Loading