Make WordPress Core

Opened 9 years ago

Closed 4 years ago

Last modified 4 years ago

#34601 closed defect (bug) (invalid)

Reinstating "no role for this site"

Reported by: keiron77's profile keiron77 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.3.1
Component: Users Keywords: reporter-feedback
Focuses: multisite Cc:

Description

On a multisite installation when relegating a user to "no role for this site" they disappear from the user listing. In the network user admin area they are still available but there isn't a way to reinstate them even if they are set to a Super Admin here. This is all as expected.

On each child site when trying to add an existing user they can't be found as the options in the select menu don't include "no role for this site". This is where I think the bug needs fixing.

There is a way to reinstate them by copying the user-edit.php url and changing the user_id to theirs.

Change History (6)

#1 in reply to: ↑ description @johnbillion
9 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Thanks for the ticket, @keiron77.

Replying to keiron77:

On each child site when trying to add an existing user they can't be found as the options in the select menu don't include "no role for this site". This is where I think the bug needs fixing.

On multisite, there is no concept of adding a user to a site but giving them no role. The act of setting their role to "No role for this site" removes them from the site (but not from the network).

Searching for the user in the "Email or Username" field when adding an existing user will show you that user, and they can be added back to the site with a role.

#2 @keiron77
9 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi @johnbillion,

I think that's where the problem lies. When using the 'Email or Username' field the suggestions list isn't complete.

I have just set a user called 'claire' to 'No role for this site'. Then, I went back to add a New User, started typing their name and they aren't appearing. Other users that never had a role on the site but are in the network list do appear though.

#3 @johnbillion
9 years ago

  • Keywords reporter-feedback added
  • Milestone set to Awaiting Review

Can you reproduce the problem with all your plugins deactivated and one of the default themes in use?

This ticket was mentioned in Slack in #core-multisite by ocean90. View the logs.


9 years ago

#5 @desrosj
4 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed

Because this has not received the needed reporter-feedback, I'm going to close this one out.

If someone is still able to reproduce with the latest version of WordPress, feel free to reopen this ticket. Please be as detailed as possible when providing steps to reproduce.

#6 @johnbillion
4 years ago

It's worth noting that my comment:1 from five years ago is incorrect; a user can be a member of a site on a Multisite network and have no role on the site. Users with no role on the site can be seen under the No role filter on the Users screen of the site.

Note: See TracTickets for help on using tickets.