-
-
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 select the group where the user wants to register #8176
Register user / allow to select the group where the user wants to register #8176
Conversation
d2e729c
to
aef5ee5
Compare
4eece29
to
0b56ac7
Compare
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.
Suggestions only.
I cannot see where to suggestion language shown in the screen snap:
BEFORE:
When you request an account an email will be sent to you with your user details.
If an advanced user profile is requested, the catalogue administrator will analyze your request and get back to you.
AFTER:
When registering an email will be sent to you with account details.
The catalogue administrator will review group and profile requests.
core/src/test/resources/org/fao/geonet/api/Messages_fre.properties
Outdated
Show resolved
Hide resolved
web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages.properties
Outdated
Show resolved
Hide resolved
web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties
Outdated
Show resolved
Hide resolved
…s.properties Co-authored-by: Jody Garnett <[email protected]>
…s_fre.properties Co-authored-by: Jody Garnett <[email protected]>
Co-authored-by: Jody Garnett <[email protected]>
…ties Co-authored-by: Jody Garnett <[email protected]>
…eocat/core-geonetwork into 44-registeruser-grouprequested
|
core/src/test/resources/org/fao/geonet/api/Messages_fre.properties
Outdated
Show resolved
Hide resolved
…ties Co-authored-by: François Prunayre <[email protected]>
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-8176-to-4.2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick aef5ee599c21f61edc947c878ef3e7d71bd48973,0b56ac74ee7bb26f042cbb9bdd7f04c529484f67,77acc49094fdb23e6746cb1439ef41efee068ff4,d2f0d3a218c91157974c487db50bf8c717363cbf,89095c06e51cbb853ac557b026f5f06d88d2da59,5ac734f4d673abda2b90bdd8391ab23df8955517,6490fd7f01bb56686238ba3fecc04b1db9444940,400a2070cb8d5b3b6262b1f542da3499225c1efa,aa87a7de3a21c64ed2706bc0e3967577b0893d2f,bf1df80ff8f4428a5a24f205a526efb81fd1863c,0be8d3077a5ce24bb6cb64ff5e4940f181f03171,92e6b42bdb462c93c36dd3f3e65e1da4f26c8994
# Push it to GitHub
git push --set-upstream origin backport-8176-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 |
…ister (geonetwork#8176) * Register user / allow to select the group that wishes to register * Register user / API integration tests * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Register user / disable group selection for profile Administrator * Register user / form improvements * Register user / surname not required * Register user / Update new account text * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: François Prunayre <[email protected]> --------- Co-authored-by: Jody Garnett <[email protected]> Co-authored-by: François Prunayre <[email protected]>
…user wants to register (#8195) * Register user / allow to select the group where the user wants to register (#8176) * Register user / allow to select the group that wishes to register * Register user / API integration tests * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Register user / disable group selection for profile Administrator * Register user / form improvements * Register user / surname not required * Register user / Update new account text * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: François Prunayre <[email protected]> --------- Co-authored-by: Jody Garnett <[email protected]> Co-authored-by: François Prunayre <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties --------- Co-authored-by: Jody Garnett <[email protected]> Co-authored-by: François Prunayre <[email protected]>
…ister (geonetwork#8176) * Register user / allow to select the group that wishes to register * Register user / API integration tests * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update web/src/main/webapp/WEB-INF/classes/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages.properties Co-authored-by: Jody Garnett <[email protected]> * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: Jody Garnett <[email protected]> * Register user / disable group selection for profile Administrator * Register user / form improvements * Register user / surname not required * Register user / Update new account text * Update core/src/test/resources/org/fao/geonet/api/Messages_fre.properties Co-authored-by: François Prunayre <[email protected]> --------- Co-authored-by: Jody Garnett <[email protected]> Co-authored-by: François Prunayre <[email protected]>
This change request extends the Register User function to allow selection of the group in which the user wants to register and enhances the registration form to indicate required fields.
The requested group is not assigned to the user when is registered, it is used in the mail to the administrator to inform about the group requested (similar as the requested profile field):
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