Skip to content

Display custom role name in invitation emails and notifications

Alex Buijs requested to merge update-invite-email-with-custom-role-title into master

What does this MR do and why?

When a custom role is assigned, display the custom role's name in access granted notifications.

Issue: #455486 (closed)

Screenshots or screen recordings

Group members

New users

Invitation email
Before After
HTML Screenshot_2024-05-13_at_18.31.14 Screenshot_2024-05-13_at_17.23.54
Text Screenshot_2024-05-13_at_18.31.28 Screenshot_2024-05-14_at_16.07.18
Invitation accepted email
Before After
HTML Screenshot_2024-05-13_at_18.33.04 Screenshot_2024-05-13_at_17.28.20
Text Screenshot_2024-05-13_at_18.33.16 Screenshot_2024-05-13_at_17.28.37
Invitation accepted notification
Before After
Screenshot_2024-05-13_at_18.33.46 Screenshot_2024-05-13_at_17.27.20

Existing users

Access granted email
Before After
HTML Screenshot_2024-05-13_at_18.38.02 Screenshot_2024-05-13_at_17.13.57
Text Screenshot_2024-05-13_at_18.38.13 Screenshot_2024-05-13_at_17.14.12

Project members

New users

Invitation email
Before After
HTML Screenshot_2024-05-13_at_18.39.31 Screenshot_2024-05-13_at_17.21.14
Text Screenshot_2024-05-13_at_18.39.42 Screenshot_2024-05-14_at_16.05.46
Invitation accepted email
Before After
HTML Screenshot_2024-05-13_at_18.40.48 Screenshot_2024-05-13_at_18.26.51
Text Screenshot_2024-05-13_at_18.40.57 Screenshot_2024-05-13_at_18.27.13
Invitation accepted notification
Before After
Screenshot_2024-05-13_at_18.41.19 Screenshot_2024-05-13_at_18.27.54

Existing users

Access granted email
Before After
HTML Screenshot_2024-05-13_at_18.42.09 Screenshot_2024-05-13_at_17.10.02
Text Screenshot_2024-05-13_at_18.42.21 Screenshot_2024-05-13_at_17.10.28

How to set up and validate locally

As admin:

  1. Create a top-level group, a project within that group and apply the Ultimate license to the group
  2. If SaaS mode is:
  3. Invite a user to the group and assign the new custom role to the user
  4. Invite a user to the project and assign the new custom role to the user
Edited by Alex Buijs

Merge request reports