By apemantus on
I want to add permissions/a role to users coming from a certain ip range. Is it possible to do this?
(My use case is: I want anybody in our company to be able to review unpublished pages/pages in revision without the need for them to log in with a username/password)
Comments
_
Search is a beautiful thing: http://drupal.org/project/modules?text=ip leads to http://drupal.org/project/ipAuthenticator (2nd module listed).
Thanks! You know, I spent
Thanks! You know, I spent ages searching for roles/permissions/users, but didn't bother with ip (in my defence, using ip as the method to test against was a last minute thing, but still).
_
lol, yeah searching can be somewhat of a black art-- that's why I always post what terms worked for me. Be sure to post back whether or not the module works for you!
Although, looking at the
Although, looking at the module, it doesn't appear to do what it says: it now seems to just assign ip addresses to users, rather than roles.
This may work for me, I'm not sure, but my original question, about modifying roles, is probably still open.
_
Maybe the http://drupal.org/project/ip_login module?