Manual:$wgGroupPermissions

From MediaWiki.org
Jump to: navigation, search
User Access: $wgGroupPermissions
Use this to set access rights for groups and users.
Introduced in version: 1.5.0 (r9367)
Removed in version: still in use
Allowed values: Complex array of boolean values.
Default value: See below.

Other settings: Alphabetical | By Function


Contents

Details

$wgGroupPermissions is a two-dimensional array indexed by user group and available permissions; for example, "$wgGroupPermissions['user']['edit'] = true;" allows registered users to edit. These groups can be assigned to users through the wiki Special:Userrights interface.

For in-depth documentation, see Manual:User rights.

Warning Warning: Functionality to make pages inaccessible has not been extensively tested for security. Use at your own risk!

Default values

Default values vary from version to version. You may find the one which apply to your mediawiki setup in DefaultSettings.php. For more info visit Manual:User rights#Default rights.

Use by extensions

Some extensions, such as RenameUser or MakeBot, add new rights which can be configured and assigned in the same manner.

See also

Language: English  • 日本語 • Русский
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Toolbox