Skip to content

Add user limit notification for invite members modal

Serhii Yarynovskyi requested to merge sy-namespace-user-limit-alert into master

What does this MR do and why?

When a namespace is approaching it's user limit we should make it clear to the owner how many invites they have left and what options they have to manage users as well getting unlimited users via a trial or upgrading.

Screenshots or screen recordings

Screenshot_2022-03-21_at_15.54.35 Screenshot_2022-03-21_at_15.56.12 Screenshot_2022-03-21_at_15.56.47

How to set up and validate locally

  1. Login as user on free plan
  2. Add members to reach user's limit of 5 members
  3. Go to any project path members list. Open invite members modal
  4. Go to any group path members list. Open invite members modal

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to https://gitlab.com/gitlab-org/gitlab/-/issues/352531

Edited by Serhii Yarynovskyi

Merge request reports