mitchell852 opened a new issue #5340:
URL: https://github.com/apache/trafficcontrol/issues/5340


   ## I'm submitting a ...
   -  new feature / enhancement 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 = register_[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.
   
   <!--
       Licensed to the Apache Software Foundation (ASF) under one
       or more contributor license agreements.  See the NOTICE file
       distributed with this work for additional information
       regarding copyright ownership.  The ASF licenses this file
       to you under the Apache License, Version 2.0 (the
       "License"); you may not use this file except in compliance
       with the License.  You may obtain a copy of the License at
   
       https://apache.org/licenses/LICENSE-2.0
   
       Unless required by applicable law or agreed to in writing,
       software distributed under the License is distributed on an
       "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
       KIND, either express or implied.  See the License for the
       specific language governing permissions and limitations
       under the License.
   -->
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to