AutoRole (2.1.1)
by
Olha Pelishok
—
last modified
2009-06-05
Released on 2009-06-03 by Jarn for Plone 3.0 under LGPL - GNU Lesser General Public License available for All platforms.
Software development stage: stable
- AutoRole download link: http://plone.org/products/autorole/releases
- Homepage of AutoRole: http://plone.org/products/autorole
- AutoRole repository: https://svn.plone.org/svn/collective/PASPlugins/AutoRole
- Description source: http://pypi.python.org/pypi/Products.AutoRole/
AutoRole is a PAS plugin which can automatically add a role for (anonymous or logged-in) visitors from the local network.
AutoRole can add a role to users coming in from local networks. The users will stay anonymous, but get an additional role.
This is done by checking IP address of the request against a list of private and local IP address ranges:
- 10.0.0.0/8 (10.0.0.0 to 10.255.255.255)
- 172.16.0.0/12 (172.16.0.0 to 172.31.255.255)
- 192.168.0.0/16 (192.168.0.0 to 192.168.255.255)
- 169.254.0.0/16 (169.254.0.0 to 169.254.255.255)
Note that 169.254.0.0/16 is a block of private IP addresses used for random self IP assignment where DHCP servers are not available.