[Mediawiki-l] $wgGroupPermissions in 1.10.x
Daniel Cannon
cannon.danielc at gmail.com
Wed Jun 20 16:44:18 UTC 2007
Hi Gordon,
On 6/20/07, Gordon Joly <gordon.joly at pobox.com> wrote:
>
>
> It appears to be failing to stop non logged in users from editing.
>
> Here is the code I have on the live site.
Yikes. Remove this line:
$wgGroupPermissions = array();
This will remove all the rights set up in DefaultSettings.php
$wgGroupPermissions['*' ]['createaccount'] = true;
> $wgGroupPermissions['*' ]['read'] = true;
> $wgGroupPermissions['*' ]['edit'] = false;
>
> $wgGroupPermissions['user' ]['move'] = true;
> $wgGroupPermissions['user' ]['read'] = true;
> $wgGroupPermissions['user' ]['edit'] = true;
> $wgGroupPermissions['user' ]['upload'] = true;
>
The rest of it looks fine. Try removing that line and see if it fixes your
problem.
--
Daniel Cannon (AmiDaniel)
http://amidaniel.com
cannon.danielc at gmail.com
More information about the MediaWiki-l
mailing list