SM Awaiting User Signup badge
Summary
In !78407 (comment 887993147) it was brought to our attention that there is a bug relating to user signups/awaiting user signup badge, which is usually applied when a user is invited to the instance, until they have accepted the invite and signed up.
In the linked comment it was noted:
This "awaiting user signup" has been causing issues. When someone is invited directly from the project it lists "awaiting user signup" in the members > invited. The invite goes to their email but it doesn't direct them to sign-up it directs them to sign in with no option listed to sign-up. Since the person being added has not signed up they could find the sign-up page to sign up but it still does not register that person has signed up even after filling out the form.
As an admin of the Gitlab workspace, I have been having to manually create the user in admin and add them to the project.
What is the current bug behavior?
TBC: Awaiting user signup badge is not removed on user signup / user is not assigned to the project correctly
What is the expected correct behavior?
Depends on the outcome of
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: \\\\\\\\\\\\\\\`sudo gitlab-rake gitlab:env:info\\\\\\\\\\\\\\\`) (For installations from source run and paste the output of: \\\\\\\\\\\\\\\`sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production\\\\\\\\\\\\\\\`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of: \\\\\\\`sudo gitlab-rake gitlab:check SANITIZE=true\\\\\\\`) (For installations from source run and paste the output of: \\\\\\\`sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true\\\\\\\`) (we will only investigate if the tests are passing)
Proposal
To tackle this problem, the proposal is to prevent new users from being invited to groups/projects via email when instance Sign-ups are not enabled.
In Product
Is Sign-up enabled? | (Non-Admin) Invite Modal | (Admin) Invite Modal |
---|---|---|
|
||
|
`The addition of a warning alert with some revised copy to explain that adding users by email requires an administrator. |
The addition of a warning alert with some revised copy to explain that adding users by email requires an administrator. The Administrator would see a link variant of this message that would take them to |
Error message via API
{
"status": "error",
"message": {
"test@example.com": "Administrators can add new users by email manually. After they've been added, you can invite them to this group with their username.".
}
}