NXdriveBeta / CSAT

Testing site: http://alpha.infobeyondtech.com/
0 stars 0 forks source link

Processing an invitation link from an email #120

Closed xlongtang closed 4 years ago

xlongtang commented 4 years ago

Please check if any of any issue may exist for the following cases when a user clicks an invitation link in his/her email.

  1. This user has already signed in our system (in the default browser) but this user is using a different account than the activation link is intended for;
  2. This user has already signed in our system (in the default browser) and this user is using the same account as the activation link is intended for;
  3. This user has not signed in ...
xlongtang commented 4 years ago

A first question we need to figure out is: Is the invitation link specific to a user and/or an organization?

NXdriveBeta commented 4 years ago
  1. result: will redirect to current user's dashboard
  2. signed in user will see a invitation at their dashboard, this page is well refined
  3. If user is not signed in, will go to registration page, email field is filled out for the user, user can still edit email.
xlongtang commented 4 years ago

For Case 1, we need to let the user know that he/she has processed this invitation. One option is that: Calling AddSuccessNotification in the controller ... Another option is that: A separate page is committed for this ...

Currently, let's use Case 1.

NXdriveBeta commented 4 years ago

Closing this issue as the controller will redirect user to switch account page if logged in user email is not the same as invited user email.