Manual:User rights (older versions)

This page describes user rights assignment and the use of $wgGroupPermissions, $wgAddGroups, $wgRemoveGroups and Special:Userrights.

See Help:User rights for user rights and user groups in general.

Default
The default setting is:

This means that a user in the 'bureaucrat' group can add/remove any group, using Special:Userrights.

Managing user rights of certain groups
This can be set using $wgAddGroups and $wgRemoveGroups.


 * Example: If a group (bureaucrat in this case) can add any right, and can remove none:


 * Example: If a group (bureaucrat in this case) can add only some groups (sysop and bot groups in this case).


 * Example: You want a sysop to be able to add/remove the bot group, and a bureaucrat be able to add/remove all groups.
 * Set the following in your LocalSettings.php file:


 * This is for sysops. A bureaucrat has the 'userrights' right by default, so you don't need to set this unless you changed it in your LocalSettings.php.

Managing user rights of users on foreign wikis
This can be set using the right "userrights-interwiki", for example:

(More information needed)

Extensions
There are various extensions for user rights management. See Category:User rights extensions for a full list of them. The following are probably the most used extensions:
 * Extension:MakeBot
 * Extension:Makesysop
 * Extension:Desysop
 * Extension:GiveRollback
 * Extension:Resign

Most of these extensions have an alternative way with the settings described on this page.

Wikimedia
The Wikimedia sites uses a different user rights assignment scheme.

Bureaucrats can't access anymore the whole Special:Userrights, they can add the groups 'bot', 'sysop' and 'bureaucrat', and they can only remove 'bot'. Bureaucrats can access Special:Makesysop and Special:Makebot. Before 28 December 2007 (see bug 11645), they could only acess those special pages, and not the part of Special:Userrights.

Stewards can access the whole Special:Userrights on Meta-Wiki and can remove and add all groups, including extra, optional groups of extensions such as 'checkuser', 'import' etc.