Page MenuHomePhabricator

Account in "eventcoordinator" group cannot change rights via Special:UserRights
Closed, ResolvedPublic


On en.wikipedia, a user with the "eventcoordinator" right should be able to modify other users' rights (to add the "confirmed" right).

However, accessing Special:UserRights from a non-administrator account with the "eventcoordinator" right displays the "View user groups" prompt with no user right controls (which is the default behavior for users without the "eventcoordinator" right) rather than the "Edit user groups" prompt and user right controls.

Steps to reproduce:

  1. Create a new account.
  2. Assign the "eventcoordinator" user right to the new account.
  3. Log in as the new account.
  4. Go to Special:UserRights.
  5. Enter a user account name in the "Select a user" text box and click "Load user groups".

Screen Shot 2021-03-17 at 4.26.37 PM.png (2×3 px, 1 MB)

Event Timeline

Issue confirmed. CC @Pchelolo, as I'm pretty sure this is again related to something loading UserGroupManager sooner than before.

This is not a site request. Configuration is correct.

[urbanecm@mwmaint1002 ~]$ mwscript shell.php enwiki
Psy Shell v0.10.5 (PHP 7.2.31-1+0~20200514.41+debian9~1.gbpe2a56b+wmf1+icu63 — cli) by Justin Hileman
>>> $wgAddGroups['eventcoordinator']
=> [
Urbanecm added a subscriber: daniel.

and yes, T275334 is the direct cause of this issue :/. Let's do what @daniel suggested in T275334#6855879. It's hacky, but better than nothing.

Change 673159 had a related patch set uploaded (by Urbanecm; owner: Urbanecm):
[operations/mediawiki-config@master] Define confirmed group in MediaWikiServices hook

Change 673159 merged by jenkins-bot:
[operations/mediawiki-config@master] Define confirmed group in MediaWikiServices hook

Mentioned in SAL (#wikimedia-operations) [2021-03-17T23:40:18Z] <urbanecm@deploy1002> Synchronized wmf-config/CommonSettings.php: 5c14e7d2045f0905f7e85b249e821bbe8d69c600: Define confirmed group in MediaWikiServices hook (T275334, T277704, T275310, T275333) (duration: 01m 08s)

The interface works for me now. Please reopen if it is still broken for someone.