Page MenuHomePhabricator

Blocked users should not be able to view private filters
Closed, DuplicatePublicFeature

Description

Feature summary (what you would like to be able to do and where):

  • Blocked users should not be able to view private filters
  • Blocked users should not be able to edit private filters already done
  • Blocked users should not be able to edit public filters already done

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

Benefits (why should this be implemented?):

  • Blocked admins, blocked edit filter managers, and blocked edit filter helpers have either temporarily or permanently lost the community's trust, and therefore should not have access to view private filters.

Event Timeline

Testing with:

The blocked privileged user:

  • can view the private filter
  • cannot edit the private filter
  • cannot edit the public filter
Novem_Linguae renamed this task from Blocked users should lose all privileged access to AbuseFilter, including private filters to Blocked users should not be able to view private filters.Oct 12 2022, 8:55 PM
Novem_Linguae updated the task description. (Show Details)

Is there already a Phab task around vieweing deleted content which blocked admins can do? Because I view that as a similar issue.

Using the same blocked administrator account, and attempting to view the deleted content of https://en.wikipedia.beta.wmflabs.org/wiki/T320678, the following message is displayed:

image.png (540×833 px, 48 KB)

en.wiki.beta should have production-comparable config settings — this would suggest blocked admins cannot see deleted revisions (at least in this manner)

Change 842009 had a related patch set uploaded (by Samtar; author: Samtar):

[mediawiki/extensions/AbuseFilter@master] AbuseFilterPermissionManager: Add sitewide block check

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