Page MenuHomePhabricator

Special:SpecialPages displays create account when permissions do not allow it
Closed, ResolvedPublic

Description

Author: dan

Description:
Steps to reproduce:

  1. Set the following in LocalSettings.php:
  2. Prevent new user registrations by anyone

$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = false;

  1. Visit Special:SpecialPages as any user

Expected result:

The create account link is hidden

Actual result:

The create account link is visible, when followed, it results in a permission error


Version: 1.23.0
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=53447

Details

Reference
bz66589

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:26 AM
bzimport set Reference to bz66589.

Change 139392 had a related patch set uploaded by Talktodan:
Only list Create account when permissions allow it

https://gerrit.wikimedia.org/r/139392

Change 139392 merged by jenkins-bot:
Only list Create account when permissions allow it

https://gerrit.wikimedia.org/r/139392