On Tue, Sep 28, 2010 at 8:06 PM, Graham <[email protected]> wrote:
>  Hello,
>
> There is a request to have a wiki configured so that anonymous users can
> read the main page & a couple of others. The registered users should
> have full access. The wiki is configured for manually adding the users
> via Special:Userrights(no Ldap).
>
> The issue is, users that were added via Special:Userrights are
> restricted to the same pages as anonymous users.
>
> Here is the configuration:
> $wgGroupPermissions['*']['edit'] = false;
> $wgGroupPermissions['sysop']['edit']   = true;
>
> $wgGroupPermissions['*']['createaccount'] = false;
> $wgGroupPermissions['sysop']['createaccount']   = true;
>
> $wgGroupPermissions['*']['read'] = false;
> $wgWhitelistRead =  array ( "Main Page", "Special:Userlogin",
> "Help:Contents");
>
> What am I missing?

You're missing this:
$wgGroupPermissions['user']['read'] = true;
$wgGourpPmierssions['user']['edit'] = true; // this one is optional, of course

user is the group for logged in users that is overlaid onto the *
permissions (which affect anons and registered users alike).

Adding that should make the above work fine.

-- 
Lucas 'TOR' Garczewski
Wikia Tech Team

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

Reply via email to