https://bugzilla.wikimedia.org/show_bug.cgi?id=19362

           Summary: New user permission abusefilter-viewprivate
           Product: MediaWiki extensions
           Version: any
          Platform: All
               URL: http://en.wikipedia.org/wiki/Wikipedia:Administrators%27
                    _noticeboard#Granting_.22Abuse_Filter_Editor.22_to_non-
                    administrators
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: AbuseFilter
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6254)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6254)
abusefilter-view-private user right

There is currently a discussion on enwiki about how to distribute abuse filter
rights between different user groups. One proposal is to separate the right to
view private filter details and the right to edit filters, and assign these to
different user groups. Currently, these rights are both granted by
abusefilter-modify (Views/AbuseFilterViewEdit.php, lines 222-225).

The attached patch allows the optional allocation of a new user right,
abusefilter-view-private, which allows usergroups without abusefilter-modify
but with abusefilter-view-private to view hidden filters. Users in such a
usergroup who view the hidden abuse page should see all the Big Red Buttons and
text fields grayed through $readOnlyAttrib, and aren't assigned edit tokens
either. (I haven't tested the patch, though, so someone'll need to give it a
test-drive.)

Users with abusefilter-modify automatically have the ability to view the hidden
filters, so there's no need to give those users abusefilter-view-private on
top.

Even if this functionality is not exploited on enwiki, I am sure that there
will be other wikis, WMF or otherwise, which will find it useful.


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to