[SM User Cap BE]: Ask admins to confirm auto approval of pending users only when pending users risk being approved

Proposal

At the moment, modifying admin settings that run the risk of auto-approving pending users will warn the admin on saving. The warning is shown whether or not there are actual pending users that will get auto-approved as a consequence. This was implemented by #293018 (closed)

We need to only warn admins if there is a real risk of auto-approving users. It would be useful to also show the admin the number of users and/or a link to see the list of users before saving the settings.

Changes to the modal:

  • Add the number of users being approved to the existing modal
  • Only show the modal if 1 or more users will be approved by the settings change

Design

UX issue

Edited by Emily Sybrant