[wp-trac] [WordPress Trac] #40265: Introduce an 'All Network Users' view to multisite user list tables

WordPress Trac noreply at wordpress.org
Sun Sep 20 21:13:17 UTC 2020


#40265: Introduce an 'All Network Users' view to multisite user list tables
-----------------------------------------+------------------------
 Reporter:  johnbillion                  |       Owner:  (none)
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  5.6
Component:  Users                        |     Version:  3.0
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch needs-screenshots  |     Focuses:  multisite
-----------------------------------------+------------------------
Changes (by johnbillion):

 * keywords:  has-patch has-screenshots needs-testing 2nd-opinion => has-
     patch needs-screenshots


Comment:

 [attachment:"40265.3.diff"] is the latest refresh of this and addresses
 some of the concerns that @flixos90 had.

 * When the `All Network Users` filter is shown, the existing `All` filter
 is renamed to `All Site Users` for clarity
 * The `All Network Users` is shown on the far left hand side of the list
 of filters, indicating a sort of hierarchy to the filters
 * Fixes the role display issue by preparing the list table's items after
 the existing `switch_to_blog()` call, which should be happening anyway

 I stand by my argument in favour of also showing the `All Network Users`
 tab on the Users screen of an individual site, I've found this to be very
 useful in my user management workflow and I'm sure others will too.

 Felix raised a great point about introducing the ability to bulk edit the
 sites that a user or users belong to, but this is out of scope for this
 ticket. We have an existing means of showing all network users within the
 context of a site (hence this patch) but we don't have an existing means
 of showing all network sites within the context of a user. There's
 probably an existing ticket for this, I'll either dig one out or create
 one.

 Regarding filtering for users with no role, this already exists. It's
 possible to edit a user and choose `No role for this site` in the Role
 dropdown to remove the user's role while retaining the user as a member of
 the site. The Users screen then gains a `No role` filter. This also works
 on single site installations.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40265#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list