Skip to content

Adds mailer for Block Seat Overages

Vijay Hawoldar requested to merge vij-notify-bso-email into master

What does this MR do and why?

When blocking seat overages (wip), namespaces will be made read-only if they go over their seats in the subscription.

This MR adds an email that will be sent to namespace owners notifying them that this has happened.

The mailer will be used in a follow-up MR (wip: !150286 (closed)) and will be triggered whenever the namespace goes over their seat limit.


This approach follows the same format as the FreeUserCap mailer.

Refs https://gitlab.com/gitlab-org/gitlab/-/issues/455746

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.

HTML Text
Screenshot_2024-04-22_at_11.49.29 Screenshot_2024-04-22_at_11.49.39

How to set up and validate locally

Visit http://gdk.test:3000/rails/mailers/namespaces/block_seat_overages_mailer/over_limit_email.html?locale=en

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

Edited by Vijay Hawoldar

Merge request reports