Skip to content

List all users in Admin > Users (by default)

Eduardo Sanz García requested to merge eduardosanz/admin-nav-fix into master

What does this MR do and why?

List all users in Admin > Users (by default)

In the Admin > Users search, list all users (except ghosts) if no filter is applied. Before, it only listed active users. This made the search very difficult if the admin only knew the name/email but not the state of the user. This bug was an overlook in a recent replacement of the navigation by a filtered search: !150288 (merged)

In addition, we added a new Active filter to look for only active users.

Closes #461672 (closed)

Changelog: fixed

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screen_Recording_2024-05-23_at_19.17.41

How to set up and validate locally

  1. As an admin, go to /admin/users
  2. Deactivate, block or ban a user
  3. See that it appears on the default search (no filters)
  4. Apply a filter and see that the user appear on the filter that matches the user's state.
Edited by Eduardo Sanz García

Merge request reports