[wp-trac] [WordPress Trac] #17394: Network Admin -> Sites -> Users not report correctly
WordPress Trac
wp-trac at lists.automattic.com
Fri May 13 00:23:05 UTC 2011
#17394: Network Admin -> Sites -> Users not report correctly
---------------------------+----------------------
Reporter: whiteatom | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Network Admin | Version: 3.1.2
Severity: normal | Resolution: invalid
Keywords: |
---------------------------+----------------------
Comment (by whiteatom):
I'm not confused.. but 'm quite sure you're not quite getting what I mean.
I don't mean to be insulting, but I can reproduce this problem over and
over.. I promise you it is a real bug. Forget the Registration Admin and
Office Roles.. just look at my example plugin that just adds the test role
- the full plugin is attached so you can try it out.
Follow this process and you can see the issue I am referring to.
1. Add this plugin to your plugins folder, create a new subsite, go to the
dashboard and activate the plugin in the new subsite. [[BR]]
2. Now, go back to the network admin, go to Sites and Edit your new site.
[[BR]]
3. Click on Users and add an existing user (or a new user) to this new
subsite with the role Test. [[BR]]
4. It says 'User Added', but they don't show up in the list. The All(#)
shows the extra user, but you cannot see them in the list.[[BR]]
5. If you go back to the Sites page, you can see the user name listed
beside your subsite. [[BR]]
6. If you go to the Dashboard for the subsite, you can see the user and
the role.
Now, the move that convinced me that this is an issue with the Network
Admin running in the context of the root site.
1. Go to the dashboard of your root site, and activate the plugin. [[BR]]
2. Now go back to the network admin and Edit the subsite, and the user
will magically appear.
The bug seems to be that the network admin only looks at it's own
environment when showing the users list for subsites. For roles that exist
in the subsite, but not the root site, the users are not displayed - I
believe this to be the bug.
For me, I am running a multisite environment that does event management,
so the root site isn't even used, only the event specific subsites are
used. I have heavily extended wordpress with a variety of roles based on
the needs of each event - several of these conflicting with roles used in
a different event. In each dashboard, this is fine, but in the Network
Admin users are missing. Because of the conflicts, I cannot install all
the event plugins into one site ( my root site), so I have had to write a
custom plugin that adds each unique role to the root site, just so I can
see the users in the list on the Network Admin.
I assure you this is a bug. I understand that you probably get lots of
people who don't understand how to use this package correctly and call
every mistake they make a bug. I hope that after running through this
example with this simple plugin, you will see what I am referring to and
reopen this ticket yourself. If you cannot see the problem I'm referring
to, please comment and I will do a screen capture to demo it.
Cheers.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17394#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list