[wp-trac] [WordPress Trac] #17860: Multisite: Incorrect User Counts on Sites
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 10 12:54:41 UTC 2011
#17860: Multisite: Incorrect User Counts on Sites
--------------------------+------------------------------
Reporter: cgrymala | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.1.3
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by cgrymala):
Replying to [comment:6 jane]:
> You don't need a keyword to indicate further discussion is needed. If
the core team hasn't tagged it as blessed, further discussion will be
needed. :) dev-feedback is generally used when a patch needs review from
the core team.
>
> From a ux perspective, if someone is part of a multisite network, but
has no role on an individual site, I would not expect them to show in the
user table for that site.
Thanks, Jane. You're right that the person shouldn't show up in the user
table if they have no role ''or'' capabilities on the site in a multisite
network. The problem is, they are being added to the user count if they
have ''any'' capabilities for the site, even if they don't have a role for
that site.
To make things more complicated, if they have capabilities and no role;
WordPress won't even let you assign a role to them. Since you can't access
the user through the user table, you can't give them a role; and if you
try to "Add New" and type in their username, WordPress tells you that the
user is already a member of the site.
In order to be able to give the user a role on the site, you have to find
their usermeta information for that site in the database, delete the
capabilities that they've been assigned, and then go back into the admin
area and add them to the site.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17860#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list