Page MenuHomePhabricator

Disable external permissions check in UserInfoCard
Closed, ResolvedPublic

Description

Disable the code to check external permissions in UIC.

Background

As a part of working on T401712, we made UIC to check the viewer's external permissions on wikis when presenting the active wikis. However, it led to a significant increase in the card loading times, especially as there's a suspicion that the external permissions aren't cached properly: T405559.

Acceptance criteria

  • UserInfoCard assumes that the viewer has no special permissions on the external wikis.

Event Timeline

Change #1192086 had a related patch set uploaded (by Mszwarc; author: Mszwarc):

[mediawiki/extensions/CheckUser@master] UIC: Disable external permission check for Active wikis section

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

Change #1192086 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] UIC: Disable external permission check for Active wikis section

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

Change #1192097 had a related patch set uploaded (by Kosta Harlan; author: Mszwarc):

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.20] UIC: Disable external permission check for Active wikis section

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

Change #1192097 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@wmf/1.45.0-wmf.20] UIC: Disable external permission check for Active wikis section

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

Mentioned in SAL (#wikimedia-operations) [2025-09-29T11:23:10Z] <kharlan@deploy2002> Started scap sync-world: Backport for [[gerrit:1192098|SI: Fix sorting by status (T405605)]], [[gerrit:1192097|UIC: Disable external permission check for Active wikis section (T405889)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-29T11:49:52Z] <kharlan@deploy2002> kharlan: Backport for [[gerrit:1192098|SI: Fix sorting by status (T405605)]], [[gerrit:1192097|UIC: Disable external permission check for Active wikis section (T405889)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-29T12:07:21Z] <kharlan@deploy2002> Finished scap sync-world: Backport for [[gerrit:1192098|SI: Fix sorting by status (T405605)]], [[gerrit:1192097|UIC: Disable external permission check for Active wikis section (T405889)]] (duration: 44m 11s)