Last modified: 2010-05-15 15:48:25 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 T11458, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9458 - Permissions: createpage restriction
Permissions: createpage restriction
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
1.9.x
All Linux
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-30 20:21 UTC by Jeff Farbman
Modified: 2010-05-15 15:48 UTC (History)
2 users (show)

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


Attachments

Description Jeff Farbman 2007-03-30 20:21:56 UTC
In LocalSettings.php:
$wgGroupPermissions['user']['createpage'] = false;
does not disallow creation of new pages for registered users.

$wgGroupPermissions['user']['edit'] = false;
yeilds restriction of creation of pages, but also disallows editing in general.

See
http://meta.wikimedia.org/wiki/Help_talk:User_rights#Restriction_for_visitors_not_seeming_to_work
for another report of the same issue.

Note: Installation includes http://www.mediawiki.org/wiki/Extension:PageSecurity
However, disabling the extension in LocalSettings.php does not fix the problem.
Comment 1 Rob Church 2007-03-30 21:06:19 UTC
Works for me. Permissions are additive, and all users are members of the "*"
group, which is allowed to create pages under the default settings, so two lines
are needed:

$wgGroupPermissions['*']['createpage'] = false;
$wgGroupPermissions['user']['createpage'] = false;

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


Navigation
Links