[SaaS UserCap FE]: Show warning banner when adding users above user cap
Description
If members are invited when the user cap set for the root group is exceeded, we need to show a warning banner.
- Note: Owners of subgroups will not see a banner, only root group owners.
Banner Display Rules
Billable members/user caps affects the root group and descendants, the messaging should be available in the root group, subgroups and projects of the root group.
- This should only be displayed to members with
owner
permissions on the root group - The message should be displayed on all pages in the root group and any subgroup or project for the members described above
Links in banner:
-
User Caps
: https://docs.gitlab.com/ee/user/admin_area/settings/sign_up_restrictions.html#user-cap -
Users Pending Approval
: https://docs.gitlab.com/ee/user/admin_area/approving_users.html
Feature flag
This feature will be implemented under the saas_user_caps
FF
Designs
Edited by Amanda Rueda