Add alert to seats usage if there are any pending members
What does this MR do and why?
It adds an alert in the group's usage seats page, informing the user (admin/owner) about pending members that are awaiting approvals with a button linking to the "pending members" page.
Note: the link currently will point to an empty page (Vue code will be added in upcoming MR), the feature flag is off so merging this won't affect the users.
Merge request | Status |
---|---|
Add pending_members route |
|
Add alert to seats usage if there are any pending members |
|
Show pending members in Seats Usage -> Pending Members |
Screenshots or screen recordings
How to set up and validate locally
- Enable
saas_user_caps
feature flag from rails console. (rails console
thenFeature.enable(:saas_user_caps)
) - With a group with an Ultimate plan
- Navigate to Settings -> General -> Permissions, LFS, 2FA -> User Cap
- Set the user cap limit to 1
- Navigate to the group members
- Add one or more members (until you are above the user cap limit set in the previous step)
- Navigate to Usage Quota from the left sidebar under Settings
- You should see an alert that you have pending members
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 #333064 (closed)
Edited by Diana Zubova