Last modified: 2014-06-22 16:09:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66589 - Special:SpecialPages displays create account when permissions do not allow it
Special:SpecialPages displays create account when permissions do not allow it
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: 1.24.0 release
Assigned To: Dan Poltawski
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-13 15:12 UTC by Dan Poltawski
Modified: 2014-06-22 16:09 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Poltawski 2014-06-13 15:12:52 UTC
Steps to reproduce:

1. Set the following in LocalSettings.php:
# Prevent new user registrations by anyone
$wgGroupPermissions['*']['createaccount'] = false;
$wgGroupPermissions['sysop']['createaccount'] = false;

2. 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
Comment 1 Gerrit Notification Bot 2014-06-13 15:18:33 UTC
Change 139392 had a related patch set uploaded by Talktodan:
Only list Create account when permissions allow it

https://gerrit.wikimedia.org/r/139392
Comment 2 Bartosz Dziewoński 2014-06-22 16:06:07 UTC
Thank you for the patch!
Comment 3 Gerrit Notification Bot 2014-06-22 16:09:19 UTC
Change 139392 merged by jenkins-bot:
Only list Create account when permissions allow it

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links