Page MenuHomePhabricator

Prevent the 'globalblock' API modifying global autoblocks
Closed, ResolvedPublic1 Estimated Story Points

Description

The globalblock API allows users to modify and remove global blocks using a block ID. However, we should prevent the ability for the API to modify global autoblocks. This is to be consistent with MediaWiki core, which manages the global autoblocks via the system. Users should still be able to remove global autoblocks if they have the necessary rights to remove global blocks.

Acceptance criteria
  • Prevent users modifying global autoblocks using the globalblock API

Event Timeline

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

[mediawiki/extensions/GlobalBlocking@master] Prevent the 'globalblock' API modifying global autoblocks

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

Change #1080822 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Prevent the 'globalblock' API modifying global autoblocks

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