Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to assign particular user to particular IP Address #9

Open
AmrataRamchandani opened this issue Jul 18, 2017 · 1 comment
Open

Comments

@AmrataRamchandani
Copy link

Hi,

Instead of checking if any user is login in through allowed IPs, Is there a way we can map a specific user to particular ip ?

@jpahullo
Copy link
Member

Hi!
Well, this is not the expected behaviour and initial design of this auth plugin.

The idea of this auth plugin is to allow to auth into Moodle to any user with this authentication type to be restricted from the given set of IPs. Lastly, it was contributed with ranges of IPs. In addition, this behavior allows a lower level of maintenance and administration.

If you want to, you can make a PR with such functionality, letting administrators to pair users with IP addresses. It could be nice to have such functionality. However, we have no time to do that by now.

Thansk for the feeback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants