--- Comment #3 from Alexandre Emsenhuber [IAlex] <> 
2010-11-20 12:31:54 UTC ---
Created attachment 7841
Patch to change Title::getUserPermissionsErrors() to make correct checks for
read permission

The problem is bigger that this. Title::getUserPermissionsErrors() is not
supposed to be used to check for read permissions; but Title::userCanRead() can
only check permissions for $wgUser.

I attached a patch to make Title::getUserPermissionsErrors() check correctly
for read permissions; dunno if Domas will like it since it's ~1.4 times slower
than the old method (on my local machine).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to