DomainAuthHelper: add IP range support
Bug #173580 reported by
Tres Seaver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope PAS |
Fix Released
|
Undecided
|
Tres Seaver |
Bug Description
It would be useful to allow defining DAH mappings using "standard" IP numbers, e.g.:
- '192.168.1.0/24'
- '192.168.
The IPy module (available on the cheeseshop) has the right semantics to allow such
filtering. See the attached patch which refactors the filter-checking, and adds the
IP-based filter IFF the IPy module can be imported.
To post a comment you must log in.
Checked in on the trunk (it feels like a new feature, and therefore doesn't belong on the 1.5 branch).