Show link to test filter to all users who can use it

Bug: T232962
Change-Id: I67357975a7064991e47c60b70c487d12bdf6b7b4
This commit is contained in:
DannyS712 2019-09-15 22:03:26 +00:00
parent 8f4711c8ca
commit 6699237b86

View file

@ -368,7 +368,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
);
}
if ( AbuseFilter::canEdit( $user ) ) {
if ( AbuseFilter::canViewPrivate( $user ) ) {
// Test link
$tools .= Xml::tags(
'p', null,