<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_rights_management</id>
	<title>Help:User rights management - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=Help%3AUser_rights_management"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Help:User_rights_management&amp;action=history"/>
	<updated>2026-05-18T15:08:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=Help:User_rights_management&amp;diff=1136&amp;oldid=prev</id>
		<title>PeterHarding: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=Help:User_rights_management&amp;diff=1136&amp;oldid=prev"/>
		<updated>2008-02-10T05:46:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PD Help Page}}&lt;br /&gt;
[[Image:SpecialUserrights.png|thumb|300px|The default Special:Userrights interface]]&lt;br /&gt;
This page describes user rights assignment and the use of [[Manual:$wgGroupPermissions|$wgGroupPermissions]], [[Manual:$wgAddGroups|$wgAddGroups]], [[Manual:$wgRemoveGroups|$wgRemoveGroups]] and [[Special:Userrights]].&lt;br /&gt;
&lt;br /&gt;
See &amp;#039;&amp;#039;&amp;#039;[[Help:User rights]]&amp;#039;&amp;#039;&amp;#039; for user rights and user groups in general.&lt;br /&gt;
&lt;br /&gt;
== Default ==&lt;br /&gt;
{{MW 1.5|and after}}&lt;br /&gt;
The default setting is:&lt;br /&gt;
:&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = true;&amp;lt;/source&amp;gt;&lt;br /&gt;
This means that a user in the &amp;#039;bureaucrat&amp;#039; group can add/remove any group, using [[Special:Userrights]].&lt;br /&gt;
&lt;br /&gt;
== Managing user rights of certain groups ==&lt;br /&gt;
This can be set using [[Manual:$wgAddGroups|$wgAddGroups]] and [[Manual:$wgRemoveGroups|$wgRemoveGroups]]. Introduced in 1.11, and behaviour changed in 1.12. For earlier versions you will need to use an extension.&lt;br /&gt;
&lt;br /&gt;
=== 1.11 ===&lt;br /&gt;
{{MW 1.11|only}}&lt;br /&gt;
Here are some examples, assuming you haven&amp;#039;t changed anything yet (so bureaucrat has still his default &amp;#039;userrights&amp;#039; right).&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; If a group (bureaucrat in this case) can remove any group. Bureaucrat can&amp;#039;t add any groups.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = true;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; If a group (bureaucrat in this case) can add only some groups (sysop and bot groups in this case). Bureaucrat can&amp;#039;t remove any groups.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;sysop&amp;#039;, &amp;#039;bot&amp;#039; );&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; You want a sysop to be able to add/remove the bot group, and a bureaucrat be able to add/remove all groups.&lt;br /&gt;
Set the following in your [[Manual:LocalSettings.php|LocalSettings.php]] file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;sysop&amp;#039;] = array( &amp;#039;bot&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;sysop&amp;#039;] = array( &amp;#039;bot&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;sysop&amp;#039;][&amp;#039;userrights&amp;#039;] = true;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
This is for sysops. A bureaucrat has the &amp;#039;userrights&amp;#039; right by default, so you don&amp;#039;t need to set this unless you changed it in your LocalSettings.php.&lt;br /&gt;
&lt;br /&gt;
=== 1.12 ===&lt;br /&gt;
{{MW 1.12}}&lt;br /&gt;
Here are some examples, assuming you haven&amp;#039;t changed anything yet (so bureaucrat has still his default &amp;#039;userrights&amp;#039; right).&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; If a group (bureaucrat in this case) can remove any right. Bureaucrat can&amp;#039;t add any groups.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = true;&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = false; # Disable the whole Special:Userrights interface.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; If a group (bureaucrat in this case) can add only some groups (sysop and bot groups in this case). Bureaucrat can&amp;#039;t remove any group.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;sysop&amp;#039;, &amp;#039;bot&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = false; # Disable the whole Special:Userrights interface.&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Example:&amp;#039;&amp;#039;&amp;#039; You want a sysop to be able to add/remove the bot group, and a bureaucrat be able to add/remove all groups.&lt;br /&gt;
Set the following in your [[Manual:LocalSettings.php|LocalSettings.php]] file:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;sysop&amp;#039;] = array( &amp;#039;bot&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;sysop&amp;#039;] = array( &amp;#039;bot&amp;#039; );&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
:This is for sysops. A bureaucrat has the &amp;#039;userrights&amp;#039; right by default, so you don&amp;#039;t need to set this unless you changed it in your LocalSettings.php.&lt;br /&gt;
&lt;br /&gt;
== Managing user rights of users on foreign wikis ==&lt;br /&gt;
{{MW 1.12}}&lt;br /&gt;
This can be set using the right &amp;quot;userrights-interwiki&amp;quot;, for example:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights-interwiki&amp;#039;] = true;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(More information needed)&lt;br /&gt;
&lt;br /&gt;
== Extensions ==&lt;br /&gt;
There are various extensions for user rights management. See [[:Category:User rights extensions]] for a full list of them. Below are alternative ways described using core instead of extensions.&lt;br /&gt;
&lt;br /&gt;
=== [[Extension:GiveRollback|GiveRollback]] ===&lt;br /&gt;
Alternative ways for 1.11 and 1.12. Note that the actions are now logged in [[Special:Log/rights]], not in [[Special:Log/gvrollback]].&lt;br /&gt;
{{MW 1.11|only}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative way for the GiveRollback extension, for version 1.11 only.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Do not forget to replace &amp;lt;tt&amp;gt;&amp;#039;other groups&amp;#039;&amp;lt;/tt&amp;gt; by the groups a bureaucrat should be able to add/remove, e.g. &amp;lt;tt&amp;gt;&amp;#039;sysop&amp;#039;&amp;lt;/tt&amp;gt;!&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = true; # They need access to Special:Userrights&lt;br /&gt;
$wgGroupPermissions[&amp;#039;rollback&amp;#039;][&amp;#039;rollback&amp;#039;] = true; # Add the actual group&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{MW 1.12|only}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative way for the GiveRollback extension, for version 1.12 only.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Do not forget to replace &amp;lt;tt&amp;gt;&amp;#039;other groups&amp;#039;&amp;lt;/tt&amp;gt; by the groups a bureaucrat should be able to add/remove, e.g. &amp;lt;tt&amp;gt;&amp;#039;sysop&amp;#039;&amp;lt;/tt&amp;gt;!&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;rollback&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;rollback&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = false; # Disable the whole Special:Userrights interface&lt;br /&gt;
$wgGroupPermissions[&amp;#039;rollback&amp;#039;][&amp;#039;rollback&amp;#039;] = true; # Add the actual group&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[Extension:MakeBot|MakeBot]] ===&lt;br /&gt;
Alternative ways for 1.11 and 1.12. Note that the actions are now logged in [[Special:Log/rights]], not in [[Special:Log/makebot]].&lt;br /&gt;
{{MW 1.11|only}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative way for the MakeBot extension, for version 1.11 only.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Do not forget to replace &amp;lt;tt&amp;gt;&amp;#039;other groups&amp;#039;&amp;lt;/tt&amp;gt; by the groups a bureaucrat should be able to add/remove, e.g. &amp;lt;tt&amp;gt;&amp;#039;sysop&amp;#039;&amp;lt;/tt&amp;gt;!&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = true; # They need access to Special:Userrights&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{MW 1.12|only}}&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Alternative way for the MakeBot extension, for version 1.12 only.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
Do not forget to replace &amp;lt;tt&amp;gt;&amp;#039;other groups&amp;#039;&amp;lt;/tt&amp;gt; by the groups a bureaucrat should be able to add/remove, e.g. &amp;lt;tt&amp;gt;&amp;#039;sysop&amp;#039;&amp;lt;/tt&amp;gt;!&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgAddGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgRemoveGroups[&amp;#039;bureaucrat&amp;#039;] = array( &amp;#039;bot&amp;#039;, &amp;#039;other groups&amp;#039; );&lt;br /&gt;
$wgGroupPermissions[&amp;#039;bureaucrat&amp;#039;][&amp;#039;userrights&amp;#039;] = false; # Disable the whole Special:Userrights interface&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Wikimedia ==&lt;br /&gt;
The [[Special:SiteMatrix|Wikimedia sites]] use a different user rights assignment scheme. &lt;br /&gt;
&lt;br /&gt;
* [[m:Bureaucrat|Bureaucrats]] can&amp;#039;t access the whole Special:Userrights anymore, they can add the groups &amp;#039;bot&amp;#039;, &amp;#039;sysop&amp;#039; and &amp;#039;bureaucrat&amp;#039;, and they can only remove &amp;#039;bot&amp;#039;. Bureaucrats can access [[Extension:Makesysop|Special:Makesysop]] and [[Extension:MakeBot|Special:Makebot]]. Before 28 December 2007 (see [[bugzilla:11645|bug 11645]]), they could only acess those special pages, and not the part of Special:Userrights.&lt;br /&gt;
&lt;br /&gt;
* [[m:Stewards|Stewards]] can access the whole Special:Userrights on [[m:|Meta-Wiki]] and can remove and add all groups, including extra, optional groups of extensions such as &amp;#039;checkuser&amp;#039;, &amp;#039;import&amp;#039; etc.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Manual:Preventing access]]&lt;br /&gt;
* [[Help:User rights]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Help|User rights]]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>