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

WorldFallz’s picture

Search is a beautiful thing: http://drupal.org/project/modules?text=ip leads to http://drupal.org/project/ipAuthenticator (2nd module listed).

apemantus’s picture

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).

WorldFallz’s picture

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!

apemantus’s picture

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.

WorldFallz’s picture