Page MenuHomePhabricator

Propagate interface-editor user group to all WMF wikis
Closed, DeclinedPublic

Description

Since the Gadgets extension introduced the package option and made it possible to require other modules, some communities have wished if they could rely on bots to automatically update JSON modules in the MediaWiki namespace. However, this has always been somewhat challenging due to security concerns as such bots would need sysop or interface-admin rights unless there is a project-specific user group with the editsitejson permission.

To resolve this dilemma, it may be good to create a user group like interface-editor on all wikis, with the following permissions:

  • Edit the user interface (editinterface)
  • Edit sitewide JSON (editsitejson)
  • Enable two-factor authentication (oathauth-enable)

The idea is to create a subset group of interface-admin so that it will be easier to operate such bots even if the operator doesn't have exclusive rights.

In fact, many projects already have interface-editor as a custom user group (see core-Permissions.php). That said, I believe it would be reasonable to update configurations so that interface-editor will no longer be a "custom" user group.

See also the following discussions that mention the dilemma described above:

Acceptance criteria

  • Standardize interface-editor user group across all WMF wikis
  • Retain existing user right assignments for projects that already have the user group.

Event Timeline

Pppery subscribed.

I oppose trampling over communities' autonomy by creating a group on all wikis. Individual wikis that want this can go through the site requests process themselves; we shouldn't pre-judge for them.

This is a tricky one, and I can see both sides to this. That being said, I think it should be enough to give interface-admin to bots in such a situation.

I agree with Pppery. We should let individual communities decide on this. Furthermore, the use case isn't too broad (currently only 9 projects out of over 800 have this flag enabled and 3 of them don't have any interface editors at the moment), and, if needed, a community can discuss it locally and easily request the flag here imho!

(For the record, if this is a request to change user-group configuration on all WMF wikis, should it be proposed on Meta-Wiki via a global RfC, rather than here on Phabricator?)