-
-
Notifications
You must be signed in to change notification settings - Fork 489
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
Register user / allow to configured allowed email domains #8186
Register user / allow to configured allowed email domains #8186
Conversation
The backport to
stderr
stdout
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.2.x 4.2.x
# Navigate to the new working tree
cd .worktrees/backport-4.2.x
# Create a new branch
git switch --create backport-8186-to-4.2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick 22661481b22f1e7257f2fca069fb06ad8c5d8996,9eab7f5c2178c5d5e609a2b3a85609502f5a8798,fa4210d63bcf82b2421717c106938002463c6136,a13ece4217d8a26373ce757918c748fb5ad821b9,0b43816f53c072ccf40878037803b1e014b3eb57
# Push it to GitHub
git push --set-upstream origin backport-8186-to-4.2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.2.x Then, create a pull request where the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR should include an update to the documentation describing new feature
@jodygarnett there is a brief description added in https://github.com/geonetwork/core-geonetwork/pull/8186/files#diff-7fd4b3d37b3876248657ed00a7fb9c35f9d355d8fb8470b9e4cc0bad6d803867 |
Understood, I had expected a little more. But yeah mentioning a feature at all is good. |
…#8186) * Register user / allow to configured allowed email domains * Register user / allow to configured allowed email domains - update migration scripts * Revert accidental change in Messages.properties
…#8186) * Register user / allow to configured allowed email domains * Register user / allow to configured allowed email domains - update migration scripts * Revert accidental change in Messages.properties
This change request adds a new setting that allows to configure in the User self registration options a list of comma separated mail domains to restrict the mail addresses that can request an account. If not configured, any email address is allowed.
If a user tries to register with an email address from a domain not configured in the previous setting a generic error message is returned.
The change request adds a server side validator for the request account data.
Checklist
main
branch, backports managed with labelREADME.md
filespom.xml
dependency management. Update build documentation with intended library use and library tutorials or documentationThanks to GeoCat Live for implementation and funding by ECCC