Page MenuHomePhabricator

Create an equivalent of ApiCheckCanExecute for the REST API
Closed, ResolvedPublic

Description

There should be a hook that provides information on which REST API handler is about to be executed, and allows hook handlers to intervene.

Some use cases:

Event Timeline

Change #1112109 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[mediawiki/core@master] Add RestCheckCanExecute hook

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

Change #1112109 merged by jenkins-bot:

[mediawiki/core@master] Add RestCheckCanExecute hook

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

matmarex assigned this task to Tgr.
matmarex subscribed.