Page MenuHomePhabricator

Introduce similareditors right, instead of depending on CheckUser
Closed, ResolvedPublic1 Estimated Story Points

Description

Special:SimilarEditors should only be accessible by checkusers, as specified in T304520.

We currently require that a user has the 'checkuser' right in order to access Special:SimilarEditors. However, this created a dependency on the CheckUser extension.

Instead, we should introduce a new right, similareditors, and assign this to the checkuser group in the Wikimedia production config.

We will need to:

  • Add the similareditors right to extension.json's AvailableRights
  • Pass in similareditors (instead of checkuser) into the parent constructor, from SpecialSimilarEditors::__construct

Event Timeline

Tchanders set the point value for this task to 1.Apr 29 2022, 12:32 PM

Change 789132 had a related patch set uploaded (by AGueyte; author: AGueyte):

[mediawiki/extensions/SimilarEditors@master] Introduce similareditors right

https://gerrit.wikimedia.org/r/789132

Change 789132 merged by jenkins-bot:

[mediawiki/extensions/SimilarEditors@master] Introduce similareditors right

https://gerrit.wikimedia.org/r/789132

dom_walden subscribed.

I have been able to assign the similareditors right to a group and access Special:SimilarEditors.

If I am not in that group, I cannot.

Test environment: local docker Similar Editors 0.0.0 (f15b6b1) 08:55, 5 May 2022.