mediawiki-extensions-AbuseF.../tests/phpunit/integration
STran a5dbd74017 Allow all users to see protected filters on Special:AbuseFilter
Why:
T367390 hid protected filters from users who didn't have the right to see them
because users with access to private filters also had access to search against
filters and were inadvertantly allowed to search against protected filters regardless
of whether or not they had the right to see them.

Now, in order to be consistent with how AbuseFilter displays private filters, reveal
protected filters to all users but continue to restrict access to their details.

What:
- Only hide protected filters when a user runs a search and doesn't have permission
  to access them.

Bug: T381470
Change-Id: I2acb7e066885f6da18b29876c21c5d7d199b9886
2024-12-06 00:59:46 -08:00
..
Api Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
ChangeTags Use StatusValue::getMessages() instead of deprecated methods 2024-05-28 21:04:59 +00:00
Hooks Use namespaced classes 2024-10-19 21:55:40 +02:00
Maintenance maintenance/SearchFilters: Allow searching by privacy level 2024-11-26 07:25:04 +00:00
Parser Use namespaced classes 2024-10-19 21:55:40 +02:00
Special Allow all users to see protected filters on Special:AbuseFilter 2024-12-06 00:59:46 -08:00
Watcher tests: Use IDatabase for mocking instead of DBConnRef 2024-05-02 22:32:05 +02:00
AbuseFilterExtensionJsonTest.php Use namespaced classes 2024-10-19 21:55:40 +02:00
AbuseFilterServicesTest.php Add missing AbuseFilterServices::getHookRunner() 2023-06-14 17:35:43 +02:00
AbuseLoggerTest.php Add integration test to verify logs are saved in CheckUser 2024-03-01 16:11:33 +00:00
ActionVariablesIntegrationTest.php Merge "Migrate 'ArticleDelete' hook to 'PageDelete' to fix error display" 2024-11-24 16:51:33 +00:00
EchoNotifierTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
FilteredActionsHandlerTest.php Migrate 'ArticleDelete' hook to 'PageDelete' to fix error display 2024-10-21 21:35:27 +02:00
FilterRunnerTest.php Use explicit nullable type on parameter arguments (for PHP 8.4) 2024-10-26 14:38:46 +02:00
FilterStoreTest.php Miscellaneous minor fixes 2024-07-03 02:31:38 +02:00
FilterValidatorTest.php Merge "Allow variables to be restricted by user right" 2024-06-04 17:20:17 +00:00
ProtectedVarsAccessLoggerTest.php Create protected variable access logs POSTSEND 2024-11-11 14:33:47 +00:00