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

feat: implement ipWhitelistUserLogin Plugin #414

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Pro
Copy link

@Pro Pro commented Apr 22, 2022

This plugin allows to limit user login for specific users to a specific list of IP addresses.

  1. If a user is not listed in the configuration, the login is not restricted, and it is the default as it would be without using this plugin
  2. The configuration allows to specify for a specific username the allowed IP address and the Group to be assigned when logging in.
  3. If a user is listed in the configuration, all given IP addresses are checked. This is a simple 'starts With' check.
    1. If the IP address is not included in the list, the User Login is prevented
    2. If the IP address is in the list, the User gets assigned the given Group (if it exists), and can log in

Based on the idea given here:
https://www.jfrog.com/jira/browse/RTFACT-9157

@github-actions
Copy link

github-actions bot commented Apr 22, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

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

Successfully merging this pull request may close these issues.

None yet

1 participant