Skip to content

Send email when user cap is reached

What does this MR do?

Part of #244529 (closed)

Contains links that are introduced in !53682 (merged) but this can merge without them.

When the user cap is reached a banner in the UI already notifies the admins about it. Now all active admins will also receive an email as soon as the user cap is reached.

Note: The emails use links from a pending merge request for the docs.

email format email preview (from letter opener)
html Screen_Shot_2021-02-09_at_12.09.38_PM
text Screen_Shot_2021-02-09_at_12.10.00_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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
Edited by Michael Kozono

Merge request reports