Add user limit notification for invite members modal
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
How to set up and validate locally
- Login as user on free plan
- Add members to reach user's limit of 5 members
- Go to any project path members list. Open invite members modal
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to https://gitlab.com/gitlab-org/gitlab/-/issues/352531
Edited by Serhii Yarynovskyi