Page MenuHomePhabricator

Rename centralauth-oversight to centralauth-suppress following the rename of oversight to suppress
Closed, ResolvedPublic

Description

In T112147 the oversight group got renamed to suppress. CentralAuth however still uses the oversight name in the centralauth-oversight right. This should get changed as well for naming consistency.

Steps

  • add a new centralauth-suppress permission to CentralAuth
  • add the centralauth-suppress permission to the local steward and wmf-supportsafety groups at metawiki
  • add the centralauth-suppress permission to the global sysadmin group
  • migrate CentralAuth to respect centralauth-suppress instead of centralauth-oversight
  • remove the centralauth-oversight permission from the local steward and supportsafety groups at metawiki
  • remove the centralauth-oversight permission from the global sysadmin group
  • remove the centralauth-oversight permission from CentralAuth
  • update permission in vagrant
  • update onwiki references: https://global-search.toolforge.org/?q=%22centralauth-oversight%22&namespaces=&title=

Event Timeline

Excluding i18n files, the code is used on CentralAuth, MediaWiki-Vagrant and the WMF-config files: https://codesearch.wmcloud.org/search/?q=centralauth-oversight&i=nope&files=&excludeFiles=i18n%2F&repos= so if this happens, it needs to be coordinated.

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

[mediawiki/extensions/CentralAuth@master] Add centralauth-suppress permission

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

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

[mediawiki/extensions/CentralAuth@master] Migrate centralauth-oversight to centralauth-suppress

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

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

[operations/mediawiki-config@master] Add centralauth-suppress to steward at metawiki

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

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

[operations/mediawiki-config@master] Remove centralauth-oversight from steward at metawiki

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

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

[mediawiki/vagrant@master] Migrate centralauth-oversight to centralauth-suppress

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

Excluding i18n files, the code is used on CentralAuth, MediaWiki-Vagrant and the WMF-config files: https://codesearch.wmcloud.org/search/?q=centralauth-oversight&i=nope&files=&excludeFiles=i18n%2F&repos= so if this happens, it needs to be coordinated.

Steps

  1. add a new centralauth-suppress permission to CentralAuth
  2. add that new permission to the local steward group at metawiki
  3. migrate centralauth to respect that permission instead of centralauth-oversight
  4. remove the centralauth-oversight permission from the local steward group at metawiki
  5. remove the centralauth-oversight permission from CentralAuth

Vagrant can be fixed at some point after step 3.

Also noting that as soon as the config change goes live https://meta.wikimedia.org/wiki/MediaWiki:Gadgets-definition will need updating in order to prevent https://meta.wikimedia.org/wiki/MediaWiki:Gadget-globalsuppress from no longer working (actually that can probably just be added in right now)

@Zabe Looks good, although steps 2 and 4 need to be taken on the staff and sysadmin global groups too.

Change 766304 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Add centralauth-suppress permission

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

@Zabe Also on wmf-supportsafety local group at Meta.

Zabe updated the task description. (Show Details)
In T302675#7740070, @Majavah wrote:

@Zabe Looks good, although steps 2 and 4 need to be taken on the staff and sysadmin global groups too.

@Zabe Also on wmf-supportsafety local group at Meta.

Thank you for the pointer.

Zabe updated the task description. (Show Details)

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

[mediawiki/extensions/CentralAuth@master] Rename CentralAuthUser::isOversighted to ::isSuppressed

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

Change 766306 merged by jenkins-bot:

[operations/mediawiki-config@master] Add centralauth-suppress to steward and wmf-supportsafety at metawiki

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

Mentioned in SAL (#wikimedia-operations) [2022-03-03T08:18:26Z] <taavi@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:766306|Add centralauth-suppress to steward and wmf-supportsafety at metawiki (T302675)]] (duration: 00m 50s)

Change 766305 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Migrate centralauth-oversight to centralauth-suppress

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

Change 766308 merged by jenkins-bot:

[mediawiki/vagrant@master] Migrate centralauth-oversight to centralauth-suppress

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

Change 766775 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Rename CentralAuthUser::isOversighted to ::isSuppressed

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

Change 766307 merged by jenkins-bot:

[operations/mediawiki-config@master] Remove centralauth-oversight from the config

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

Mentioned in SAL (#wikimedia-operations) [2022-03-10T21:13:41Z] <rzl@deploy1002> Synchronized wmf-config/InitialiseSettings.php: Config: [[gerrit:766307|Remove centralauth-oversight from the config (T302675)]] (duration: 00m 49s)

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

[mediawiki/extensions/CentralAuth@master] Remove centralauth-oversight

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

Change 769794 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Remove centralauth-oversight permission

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

Zabe updated the task description. (Show Details)

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

[mediawiki/extensions/CentralAuth@master] Restoring centralauth-suppress localisations

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

Change 770501 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Restoring centralauth-suppress localisations

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