We have moved to GitHub Issues
Created by Shannon Deminick 15 May 2017, 08:26:10 Updated by Shannon Deminick 10 Jul 2017, 05:37:33
Relates to: U4-10133
Subtask of: U4-8632
Check if they have an email server configured otherwise it's disabled
Generate and validate a token (use SecurityStampToken column)
Need a generic email - probably use a translation entry which people can override on their own (check what we do for the forgot password)
Token validation done via JS to the user controller, if token is invalid then the UI handles it
<specifiedPickupDirectory pickupDirectoryLocation="X:\Projects\TEMP\SMTP" />setting
The token is generated with Identity APIs and is based on the hash of the security stamp token. The Token is validated with Identity APIs too.
The email is localized via the language files which includes the subject.
There's an issue with this branch:
AuthorizeUpgradewizard to run.
BackOfficeSignInManagercode required to do a login, fails without the new tables added in 7.7 - but these aren't added until the migration has been run (
umbracoUser2UserGrouptable was the one it complained about).
So there's kinda a catch22 situation here - any suggestions on how to resolve?
Good catch will need to sort something out, we've had a similar issue before.
I'll test the stuff above with a fresh db (that should just work since it doesnt need to run migration) .. have unassigned myself if you want to reassign to you for rework.
Retested with pickup dir and it generates an email. Still issues with the async stuff when using a real smtp (papercut) server.
Also seems to be missing some kind of confirmation when the email is sent. I only get a UI response (an error) if the email isn't sent. Otherwise the UI just stays at the invite screen with all fields filled out. Do we have another task for this part (as I assume this task is just for the API part) ?
Can see the rest of the invite flow UI when clicking the link in the email is handled in http://issues.umbraco.org/issue/U4-9914 so will keep that out of this issue.
Backwards Compatible: True
Due in version: 7.7.0
Sprint: Sprint 62
Story Points: 3