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 Normal.
bzimport set Reference to bz66589.
bzimport created this task.Jun 13 2014, 3:12 PM

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

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

Thank you for the patch!

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

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