Skip to content

Add restrictions for email addresses

Nicolas Dular requested to merge nicolasdular/email-restriction-regex into master

What does this MR do?

Part of https://gitlab.com/gitlab-org/growth/team-tasks/issues/62

Adds another option to restrict email addresses by adding a regex. The regex gets applied to the whole email address. This gives admins a more precise option to forbid certain characters for email addresses on sign ups.

Feature flag: email_restrictions

Follow-ups

Screenshots

It is in its own section

Screenshot_2020-02-14_at_13.28.18

We validate the regular expression Screenshot_2020-02-13_at_16.28.41

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Thong Kuah

Merge request reports