Jump to content

Extension talk:RestrictiveRights

Add topic
From mediawiki.org
Latest comment: 13 years ago by Platonides

If you set the following (with the extension enabled):

$wgGroupPermissions['*']['createaccount']= false;
$wgGroupPermissions['user']['createaccount'] = true;

Does that mean that logged-in users won't be able to create accounts either, since they're automatically part of the * group? —Waterfox 18:13, 27 August 2010 (UTC)Reply

No, permissions are additive (except Manual:$wgRevokePermissions entries). Members of * group are given createaccount by default, that's what is revoked by $wgGroupPermissions['*']['createaccount']= false;. That line doesn't prevent users to get createaccount from the $wgGroupPermissions['user']['createaccount'] = true; line. Platonides 23:18, 17 November 2011 (UTC)Reply