Skip to content

Experiment: change invite email to be from inviter

What does this MR do?

Adds an experiment that will change the:

  • from name and email
  • subject line

for the users that enter the candidate experience of the experiment as per https://gitlab.com/gitlab-org/gitlab/-/issues/327636

Note as per https://gitlab.com/gitlab-org/gitlab/-/issues/327636#note_652091776 we expect to only have one of invite_email_preview_text and invite_email_from enabled on .com at a time.

Screenshots or Screencasts (strongly suggested)

before/control after/candidate
Screen_Shot_2021-08-17_at_10.34.29_AM Screen_Shot_2021-08-17_at_11.03.40_AM

How to setup and validate locally (strongly suggested)

  1. In rails console enable the experiment fully
    Feature.enable(:invite_email_from)
  2. Visit rails preview of the email: http://127.0.0.1:3000/rails/mailers/notify/member_invited_email

Disable the feature to validate before setup.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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

Related to #327636

Edited by Doug Stull

Merge request reports