Show pending members in Seats Usage -> Pending Members
What does this MR do and why?
It adds the frontend of the "pending members" page, which is behind saas_user_caps
feature flag.
The page lists all pending users or pending invited members for group admins/owners to see. (later they'll be able to approve).
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
before | after |
---|---|
N/A |
I've adjusted the items per page to take the screenshot and present the pagination, but the code is using the default items per page 20
.
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 -> 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 previous step)
- Navigate to Usage Quota from the left sidebar under Settings
- You should see an alert that you have pending members
- Clicking the button in the alert should navigate to a pending members page
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 Ammar Alakkad