Last modified: 2010-05-15 15:56:51 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 T8376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6376 - access denied on Spezial:Userlogin if $wgGroupPermissions['*' ]['createaccount'] = false;
access denied on Spezial:Userlogin if $wgGroupPermissions['*' ]['createacc...
Status: RESOLVED DUPLICATE of bug 5122
Product: MediaWiki
Classification: Unclassified
User login and signup (Other open bugs)
1.6.x
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-19 13:46 UTC by Raphael H. Becker
Modified: 2010-05-15 15:56 UTC (History)
0 users

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


Attachments

Description Raphael H. Becker 2006-06-19 13:46:48 UTC
If I set 
$wgGroupPermissions['*'    ]['createaccount']   = false;
in LocalSettings.php I cannot access Spezial:Userlogin (german)

This seems a little strange for me, becaus I just wanted to disable the creation
of new accounts (techs intranet).

* MediaWiki: 1.6.6
* PHP: 5.1.2 (apache)
* MySQL: 4.1.12 

Bug?

Regards
Raphael Becker
Comment 1 Leon Weber 2006-06-19 14:47:40 UTC
Works for me.

* MediaWiki: 1.6.6
* PHP: 5.1.2 (apache2handler)
* MySQL: 5.0.21-Debian_3ubuntu1-log 

Shouldn't have to do anything with mysql.
Do you have made any changes to any config which could be interesting?
Comment 2 Edward Z. Yang 2006-06-19 17:31:40 UTC
var_dump($wgGroupPermissions) and tell us the results.
Comment 3 Raphael H. Becker 2006-06-19 20:03:48 UTC
Just re-testet from my Home-Office with another Browser, here's var_dump:

array(6) {
  ["*"]=>
  array(5) {
    ["createaccount"]=>
    bool(false)
    ["read"]=>
    bool(false)
    ["edit"]=>
    bool(false)
    ["createpage"]=>
    bool(false)
    ["createtalk"]=>
    bool(false)
  }
  ["user"]=>
  array(9) {
    ["move"]=>
    bool(true)
    ["read"]=>
    bool(true)
    ["edit"]=>
    bool(true)
    ["createpage"]=>
    bool(true)
    ["createtalk"]=>
    bool(true)
    ["upload"]=>
    bool(true)
    ["reupload"]=>
    bool(true)
    ["reupload-shared"]=>
    bool(true)
    ["minoredit"]=>
    bool(true)
  }
  ["autoconfirmed"]=>
  array(1) {
    ["autoconfirmed"]=>
    bool(true)
  }
  ["bot"]=>
  array(2) {
    ["bot"]=>
    bool(true)
    ["autoconfirmed"]=>
    bool(true)
  }
  ["sysop"]=>
  array(16) {
    ["block"]=>
    bool(true)
    ["createaccount"]=>
    bool(true)
    ["delete"]=>
    bool(true)
    ["deletedhistory"]=>
    bool(true)
    ["editinterface"]=>
    bool(true)
    ["import"]=>
    bool(true)
    ["importupload"]=>
    bool(true)
    ["move"]=>
    bool(true)
    ["patrol"]=>
    bool(true)
    ["protect"]=>
    bool(true)
    ["rollback"]=>
    bool(true)
    ["upload"]=>
    bool(true)
    ["reupload"]=>
    bool(true)
    ["reupload-shared"]=>
    bool(true)
    ["unwatchedpages"]=>
    bool(true)
    ["autoconfirmed"]=>
    bool(true)
  }
  ["bureaucrat"]=>
  array(1) {
    ["userrights"]=>
    bool(true)
  }
}
Comment 4 Raphael H. Becker 2006-06-19 20:22:37 UTC
Screenshot shows, what I see, if I click the link "anmelden" (="login")
http://rabe.uugrn.org/bilder/Computer/Screenshots/pinteam_wiki_no_login.png (~660k)

Setting $wgGroupPermissions['*'    ]['createaccount']   = true/false toggles
this behaviour. Repeatable with different Clients (FF/WinXP, FF/FreeBSD).

Comment 5 Brion Vibber 2006-06-19 21:36:58 UTC
You have disabled the ability of non-logged-in users to
access pages on the wiki. You must add Spezial:Userlogin
to the read whitelist.


*** This bug has been marked as a duplicate of 5122 ***

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


Navigation
Links