Page MenuHomePhabricator

StopForumSpam should return true within onGetUserPermissionsErrorsExpensive for the report-only + ip-denylisted case
Closed, ResolvedPublic

Description

There should be a return true; somewhere around here within Hooks.php. Otherwise the action ends up being "blocked" and erroneously logged in report-only mode, which we do not want given current expectations.

Event Timeline

sbassett changed the task status from Open to In Progress.Apr 17 2023, 2:18 PM
sbassett triaged this task as Medium priority.
sbassett moved this task from Backlog to In Progress on the MediaWiki-extensions-StopForumSpam board.
sbassett moved this task from Incoming to In Progress on the Security-Team board.
sbassett moved this task from Backlog to In Progress on the user-sbassett board.

Change 908878 had a related patch set uploaded (by SBassett; author: SBassett):

[mediawiki/extensions/StopForumSpam@master] Add missing return to onGetUserPermissionsErrorsExpensive hook conditional block

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

sbassett updated the task description. (Show Details)

Change 908878 merged by jenkins-bot:

[mediawiki/extensions/StopForumSpam@master] Add missing return to onGetUserPermissionsErrorsExpensive hook conditional block

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

Change 908880 had a related patch set uploaded (by SBassett; author: SBassett):

[mediawiki/extensions/StopForumSpam@master] Add additional condtional to account for report-only + non-denylisted IP case

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

Change 908880 merged by jenkins-bot:

[mediawiki/extensions/StopForumSpam@master] Add additional conditional to account for report-only + non-denylisted IP case

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

sbassett moved this task from In Progress to Done on the MediaWiki-extensions-StopForumSpam board.
sbassett moved this task from In Progress to Our Part Is Done on the Security-Team board.
sbassett moved this task from In Progress to Done on the user-sbassett board.