mediawiki-extensions-AbuseF.../tests
Daimona Eaytoy 6ac574dada Add missing permission check to canSeeLogDetailsForFilter
`canSeeLogDetails` should also be checked when a filter is protected, as
it is the base right for being able to see abuselog entries. With this
in mind, check that immediately at the beginning of the method, instead
of repeating calls. Also merge the conditionals, and return early when a
permission check fails.

Move a test up so that it comes immediately after its data provider, and
add test cases for a few combinations of rights.

Change-Id: Ic3cf58f43803bef8bf2d65566434baff145b3fd5
2024-07-02 22:43:09 +02:00
..
parserTests Merge "Add support for regex string replacements." 2022-05-31 14:54:33 +00:00
parserTestsEquivset Move parser tests to /unit 2019-08-28 16:36:37 +00:00
phpunit Add missing permission check to canSeeLogDetailsForFilter 2024-07-02 22:43:09 +02:00
selenium build: Updating npm dependencies 2024-06-04 00:33:18 +00:00