Page MenuHomePhabricator

Hide the target of autoblocks in the 'globalblocks' API
Closed, ResolvedPublic2 Estimated Story Points

Description

The globalblocks query API allows users to fetch a list of active global blocks. Currently, this does not hide the target of the global block if the target is an autoblock. This should be hidden to protect the privacy of users who have been blocked.

Acceptance criteria
  • The globalblocks query API does not display the target of autoblocks, or allow querying for autoblocks based on an IP (to prevent working out the target through trial and error).

Event Timeline

Change #1078731 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/GlobalBlocking@master] [WIP] Update 'globalblocks' API to appropriately hide autoblocks

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

Dreamy_Jazz set the point value for this task to 2.Oct 16 2024, 8:21 PM

Change #1078731 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Update 'globalblocks' API to hide global autoblock targets

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

dom_walden subscribed.

I have not observed any global autoblock which includes the target.

Further testing of this will be done in T377855.