A pending members banner shown only when user caps is enabled (ie value is set) that alerts top-level SaaS namespaces owners that there are pending members to approve because they are over the user caps limit
This feature actually already exists but has performance issues because it contains the count of pending members, which is complicated query.
This feature is meant to alert admins that pending members need approval.
Allow auto-approval of pending members under the following scenarios:
Root group user cap setting is disabled (set to 0 or null)
Owner increases user cap value
Owner uses 'approve all' UI button
This allows us to only display the banner when user caps is enabled (ie value is set).
If we don't have this feature, and only display the pending member banner when the value is set, we risk users getting stuck as "pending members" indefinitely.
This would avoid scenarios like: having user cap of 10 and I have 5 pending members, when I disable the user cap feature, I will still have 5 pending members even though I no longer see the pending members banner alerting me of such.
Blank pending members page messaging: if there are no pending members to approve, on the pending members page, show a message on the pending members page that no action is required.
We unfortunately have to provide the banner notification regardless of if there are actually pending members or not. We cannot only show the banner when there are pending members because then we would have to rely on the inefficient query.
Therefore, we need a message on pending members page if there are no members to approve to make sure the customer understands.
Feature Constraints
Are these feature for all tiers? SM and SaaS?
SaaS only
All tiers on SaaS
Who can see the banner? Who can see the pending members page?
Top level namespace group owners
Under what conditions should this banner show up?
User caps is enabled. Said otherwise, user caps has a value set, it is not just that the feature flag is enabled.
Special Notes
What are some caveats to be aware of with this the banner?
We unfortunately have to provide the banner notification regardless of if there are actually pending members or not. We cannot only show the banner when there are pending members because then we would have to rely on the inefficient query.