FE Research Issue: Give SaaS group owners control over accidental user overages via a `User Cap` setting
This issue is meant to break down the Front-End needs of the feature described in &5803 (closed).
Reference
-
Designs: #321934 (closed)
-
Steps flow for Self-Managed User added while User Cap enabled and SaaS Member added while User Cap enabled: &5803 (comment 556204466)
-
Useful info from the docs about GitLab.com Subscriptions: https://docs.gitlab.com/ee/subscriptions/gitlab_com/
Why should we implement this feature in SaaS, but not in Self Managed?
At the moment, only Self Managed admins can already control accidental user overages by making use of the option of setting User Caps through the Admin Settings section, like this:
This setting is available in Admin Area > Settings only for instance admins. This means that this section is not available for .COM admin customers.
We need to provide this option to .COM admin customers, but as they lack access to an Admin Settings section, we need to provide them this option elsewhere: at the Group/Project > Settings level.
Initial breakdown
- [FE] SaaS - Add Pending Members tab to seat usage page
- [Docs] SaaS - Document Pending Members tab in seat usage page
- SaaS - Move "Allow users to request access" setting to a new subsection
-
[UserCap FE]: Add feature flag(closed as FF will be implemented in BE issue #332590 (closed)) - [UserCap FE][Pending members tab]: Add pending approval users
- [UserCap FE]: Add "User cap" setting to Membership area in group Settings > General
- [UserCap FE]: Show warning banner when adding users above user cap
- [UserCap FE][Invited members tab]: Add pending SaaS users to "Invited" members tab
- [UserCap FE][Invited members tab]: Add a “Pending owner approval” badge for members
- [UserCap FE][Invited members tab]: Add an “Awaiting user signup” badge for members
- [UserCap FE][Pending Members tab]: Add "Approve all" button
- [UserCap FE]: Warn group owners when changing User Cap related settings about automatically approving users
- [UserCap FE][Auto approval modal]: Show exact number of auto approvable members
- [UserCap][Pending Members tab]: Add confirmation modal for "Approve all" action
- [UserCap][Pending Members tab]: Add confirmation modal for "Approve" action
Extra notes
- setting "Prevent adding new members to project membership within this group" (design) is NOT tied to this issue, even if it appears on the design