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

TP: Add the ability to resend a user registration from the user screen #5340

Closed
mitchell852 opened this issue Dec 1, 2020 · 1 comment · Fixed by #5442
Closed

TP: Add the ability to resend a user registration from the user screen #5340

mitchell852 opened this issue Dec 1, 2020 · 1 comment · Fixed by #5442
Assignees
Labels
improvement The functionality exists but it could be improved in some way. Traffic Portal v1 related to Traffic Portal version 1

Comments

@mitchell852
Copy link
Member

mitchell852 commented Dec 1, 2020

I'm submitting a ...

  • improvement request

Traffic Control components affected ...

  • Traffic Portal

Current behavior:

Currently, you can send a user registration in TP at https://tp.domain.tld/#!/users/register. This requires an email, role and tenant for the new user. The result is a new user is created with:

  • user.new_user = true.
  • user.username = registration_[random_hash]
  • user.email = [specified email]
  • user.role = [specified role]
  • user.tenant = [specified tenant]

and an email is sent to the user with a link to complete the registration(i.e. change the username and specify a desired password). Note, once the user is updated, user.new_user is set to false. the new_user flag is basically used to determine if registration is complete or not.

However, these registrations tend to never get completed. Maybe the email found its way into the users spam folder or something.

New behavior:

On the user page (i.e. https://tp.domain.tld/#!/users/42):

  1. If user.newUser = true, add a field to TP to display the user.registrationSent value
  2. If user.newUser = true, add a button to 'Resend Registration' which will send the existing email, role and tenant to the POST api/users/register endpoint...which will resend the registration email and reset the registrationSent value.
@mitchell852 mitchell852 added new feature A new feature, capability or behavior Traffic Portal v1 related to Traffic Portal version 1 improvement The functionality exists but it could be improved in some way. and removed new feature A new feature, capability or behavior labels Dec 1, 2020
@rimashah25
Copy link
Contributor

I can take this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement The functionality exists but it could be improved in some way. Traffic Portal v1 related to Traffic Portal version 1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants