Page MenuHomePhabricator

Remove the stewards ability to delete/unmerge global accounts
Closed, ResolvedPublic

Description

Background

The Stewards are the only community-elected group of users that has the centralauth-unmerge user right. This allows them to delete global accounts and/or unmerge local accounts from the global account (in other words: detach an English Wikipedia account from its global counterpart).

Global account deletion is virtually never necessary. Despite what it might look like, global account deletion does NOT remove all traces of the account from the system. Instead, it removes the global account _itself_, leaving all the individual local wiki accounts dormant. As of now, a global account is required for logins to be possible, so deleting the global account removes the person's ability to use Wikimedia. When global accounts were being introduced, global account deletion was used to "opt out" someone from having a global account. However, this use-case no longer exist.

It is worth noting Steward-level access is not sufficient to reverse an accidental deletion. For this, a sysadmin needs to intervene. A recent example of an accidental deletion that needed reversal was logged as T396091: Fix accidentally unmerged global account.

Account deletion is -- very rarely -- necessary to resolve certain technical issues (for example, when a new wiki is attached, and duplicate accounts are mistakenly created). However, when that happens, sysadmin-level access is usually needed (if you want to change how accounts are attached, or resolve duplicates), as Stewards cannot merge global accounts by themselves. Even if a Steward finds themselves in a need of an account deletion, they can easily (and temporarily!) assign this permission to themselves, do what they need and then remove it again. Not having the permission by default will greatly reduce the possibility of accidental mistakes, as demonstrated by eg. T396091.

Suggestion

Remove centralauth-unmerge permission from the steward group.

Notes

Logs demonstrating the uses of the feature

Event Timeline

Change #1174035 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Remove centralauth-unmerge from stewards

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

"community-elected group of users" is a bit of a specific discriminator; noting that this is not the only group of volunteers that have this access; as it is included in the global group 'sysadmin' which includes volunteers

"community-elected group of users" is a bit of a specific discriminator; noting that this is not the only group of volunteers that have this access; as it is included in the global group 'sysadmin' which includes volunteers

That part was meant to indicate the permission is not useful for moderation purposes, but it is (very rarely) useful for sysadmin-level actions. Maybe I should've said "group of users with moderation responsibility". Hope this makes sense :)

Thanks! FTR, I also flagged this to T&S (pointing out staff group has this user right as well, and probably shouldn't).

[...] FTR, I also flagged this to T&S (pointing out staff group has this user right as well, and probably shouldn't).

Per my discussion with T&S, the staff global group no longer has this permission.

Change #1174035 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove centralauth-unmerge from stewards

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

Mentioned in SAL (#wikimedia-operations) [2025-08-12T08:56:41Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1174035|Remove centralauth-unmerge from stewards (T400755)]]

Mentioned in SAL (#wikimedia-operations) [2025-08-12T08:58:53Z] <urbanecm@deploy1003> zabe, urbanecm: Backport for [[gerrit:1174035|Remove centralauth-unmerge from stewards (T400755)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-08-12T09:05:47Z] <urbanecm@deploy1003> Finished scap sync-world: Backport for [[gerrit:1174035|Remove centralauth-unmerge from stewards (T400755)]] (duration: 09m 05s)

Urbanecm assigned this task to Zabe.

I went ahead and deployed @Zabe's patch. This is now done. Thank you all!