bugzilla-daemon | 1 Jul 02:57 2010
Picon

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

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

--- 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)
patch

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
canSeePrivate. 

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.

Gmane