Skip to content

Send No more seats email to Owner

Angelo Gulina requested to merge ag/441796-bso-email-owner into master

What does this MR do and why?

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/441796. This MR introduces an e-mail template to notify Owners about members trying to add members to project/group (when this this would result in having an overage – though some specifications may vary).

Note that this is a feature under development, behind a feature flag.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Adding to Group Adding to Project Text email (dummy data)
Screenshot_2024-03-06_at_18.19.44 Screenshot_2024-03-06_at_18.14.24 Screenshot_2024-03-06_at_18.11.08

Zoom clip

  • link
  • Passcode: 3HZiD5@=

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Example below:

  1. In rails console enable the FF
    Feature.enable(:block_seats_overages)
  2. Visit any group or project with N seats in subscription
  3. Make sure that all seats are occupied
  4. Try to add another members
  5. Check http://127.0.0.1:3000/rails/letter_opener

Alternatively, the template is available at http://localhost:3000/rails/mailers/notify/no_more_seats -->

Edited by Angelo Gulina

Merge request reports