bugzilla-daemon | 1 Jul 02:57 2010

[Bug 24186] "Examine" page is visible to users without abusefilter-log-detail right


--- Comment #3 from lampak <llampak <at> gmail.com> 2010-07-01 00:57:47 UTC ---
Created an attachment (id=7537)
 --> (https://bugzilla.wikimedia.org/attachment.cgi?id=7537)

OK, I've written a patch. Now it should check for the abusefilter-log-detail
right before displaying the "examine" page. 

Besides fixing the bug, I've moved all functions which check user's rights to
AbuseFilter class to make them somewhat more global - because I needed
canSeeDetails and because canViewPrivate had already been duplicated by

I have some some small problems with MediaWiki configuration so I'm not quite
sure how the patch is going to behave in a less messy environment...


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.