Steps to replicate the issue:
- Create an abuse filter using the new suppressed flag T290324: Create Oversight-level abuse filters (which requires the suppressrevision permission)
- Remove suppressrevision from your account but keep viewsuppressed (and other permissions relevant to viewing & editing abuse filters)
- Notice that you can still view the filter content & suppressed abuse logs (expected)
- Notice that you cannot click the checkbox "Suppress this filter so that only suppressors can view it and its logs" (expected)
- Notice that you're still able to edit the filter (unexpected!)
- Edit the filter content and click "save"
What happens?:
- You're able to save the filter
- The suppressed flag gets removed in the process
- The suppressed abuse log is no longer suppressed
What should have happened instead?:
- Don't allow users with viewsuppressed to edit the filter OR
- Allow editing the filter (e.g. if you want to allow stewards to support oversighters maintaining a filter) but don't remove the suppressed flag
- Removing the suppressed checkbox (no matter if oversighters do this intentionally or if it happens via this bug) should never automatically unsuppress previously suppressed abuse logs – they might still contain PII
Other information:
- I notice this bug while testing with https://test.wikipedia.org/wiki/Special:AbuseFilter/300 – see it's history https://test.wikipedia.org/wiki/Special:AbuseFilter/history/300 & log https://test.wikipedia.org/w/index.php?title=Special:AbuseLog&wpSearchFilter=300 – my oversight permissions expired one minute before making the edit https://meta.wikimedia.org/w/index.php?title=Special:Log&logid=63608034