User admin approval - Admin email notification
Problem to solve
As part of &4491 , administrators should receive an email when a user registers for their instance.
User experience goal
An administrator can easily tell if the user should be someone they approve or not.
- Send an email to instance administrator when a new user registers for their instance. The email should contain:
- The email should have the user's name, username, and email, with a link to approve or disapprove the request in the user page in the admin panel.
GitLab Account Request
Hi (admin name), (name) has asked for a GitLab account on your instance: * Username : (username) * Email (email) Click (here) to approve or deny this request.
Permissions and Security
Availability & Testing
What risks does this change pose to our availability?
This is low risk to GitLab.com availability. However, if for some reason, notification emails do not go out, there could be delay in user signup process to complete causing bad user experience. A test should be added at feature level to ensure emails are sent out.
What additional test coverage or changes to tests will be needed?
Tests should be added add feature level (or lower) to ensure emails are sent out on registration. Also ensure that the email is not sent out when this setting is not enabled.
No new end-to-end tests needed.