Author: carl.duisberg
Description:
Using $wgGroupPermissions normal user can be disallowed to read pages that are
not in $wgProxyWhitelist. The following coding is found in article.php:
if ( !$this->mTitle->userCanRead() ) { $wgOut->loginToUse(); $wgOut->output(); exit; }
This asks a user who is already logged in but does not have read privelege to logon.
Solution:
If a user is logged in and has not read privilege send an approriate message:
$wgOut->permissionRequired( $permission );
Version: unspecified
Severity: normal