Notify Admin with alert when new User might generate overages

What does this MR do and why?

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/466654, with this MR we are:

  1. Preventing adding Users when the instance has reached its licensed user count
  2. Notifying the Admin that the above

Notes:

  1. the feature is behind the FF [wip] https://gitlab.com/gitlab-org/gitlab/-/issues/502157+.
  2. When User Cap is enabled, the User will be created regardless of licensed user count, and put into approving queue.

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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.

Regular User Premium
no-more-seats
Regular User Ultimate
no-more-seats-ultimate
Auditor User in Premium
no-more-seats-auditor
Auditor User in Ultimate
no-more-seats-auditor-ultimate

How to set up and validate locally

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

Edited by Angelo Gulina

Merge request reports

Loading