Send No more seats email to Owner
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) |
---|---|---|
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:
- In rails console enable the FF
Feature.enable(:block_seats_overages)
- Visit any group or project with N seats in subscription
- Make sure that all seats are occupied
- Try to add another members
- 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
-->