Prevent new user registrations except by sysops
Looking at ListGroupRights[1] users created by OpenID have a different group to control access. So, new users accounts created outside OpenID will be disabled, but sysadmins can still manually create them (for our bots). Everybody else will be forced into OpenID. [1] https://wiki.openstack.org/wiki/Special:ListGroupRights Change-Id: I8bb4f0b07c13da75106bfbf725db372ff11dfd09 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
bc1cad4c0d
commit
3dc0d18a1c
@ -144,6 +144,11 @@ $wgResourceLoaderMaxQueryLength = -1;
|
||||
# Only allow logged-in users to edit
|
||||
$wgGroupPermissions['*']['edit'] = false;
|
||||
|
||||
# Prevent new user registrations except by sysops
|
||||
# Create account with OpenID (openid-create-account-with-openid) should not be
|
||||
# affected
|
||||
$wgGroupPermissions['*']['createaccount'] = false;
|
||||
|
||||
## Content suppression (for *really* nasty spam or DMCA notices)
|
||||
# Allow sysops to hide revisions/log items from users
|
||||
$wgGroupPermissions['sysop']['deleterevision'] = true;
|
||||
|
Loading…
Reference in New Issue
Block a user