Support + characters in emails

Description

Enable the usage of the "+" character when creating new users, workflows support it just fine.

 

OLD DESCRIPTION:

It's a valid character for email addresses, but it causes the create organization workflow to fail in an inconsistent state.

The detailed explanation is here:
https://tracker.mender.io/browse/MEN-1918?focusedCommentId=89328&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-89328

To reiterate:

The solution would be to:

  • add an extra email-urlencoded field to the create_organization workflow (and to tenantadm's conductor client)

  • propagate this field via the organization_created event to interested event listeners

    • these are mostly saas-specific workflows: create_artifacts, create_tenant_demo_device

  • use the urlencoded version where necessary

  • allow existing workers and services use the existing email where encoding doesn't matter

This is a placeholder task, if we intend to take it it has to be broken down like a mini-epic.

We're deprioritizing this for now because of the scope of required changes/effort.

Affects versions

None

Environment

None

Checklist

Activity

Show:

Fabio TranchitellaApril 7, 2020 at 7:56 AM

I've updated the description of the ticket and re-estimated it.
workflows support + characters just fine, we can enable them again.

Fixed

Details

Assignee

Reporter

Story Points

Priority

Sprint

Backlog

yes

Zendesk Support

Checklist

Created June 27, 2018 at 9:09 AM
Updated July 15, 2020 at 2:04 PM
Resolved July 15, 2020 at 2:04 PM