Manual:$wgGroupsAddToSelf
From MediaWiki.org
| User Access: $wgGroupsAddToSelf | |
|---|---|
| Use this to allow users to add themselves from specified groups via Special:Userrights. |
|
| Introduced in version: | 1.12.0 (r29765) |
| Removed in version: | still in use |
| Allowed values: | |
| Default value: | See below. |
Other settings: Alphabetical | By Function
[edit] Details
$wgGroupsAddToSelf allow users to add themselves userrights without the need to request it from a bureaucrat or steward. The syntax is $wgGroupsAddToSelf = array('group1, group2');.
[edit] Changes in 1.14.0
In r39368, the way this variable works was changed. Before, it allowed every user to add those groups to themselves, now it can be filtered on a per-group basis.
The new syntax is $wgGroupsAddToSelf['group1'] = array( 'group2', 'group3' ); which allows any user in the group "group1" to add the groups "group2" and "group3" to themselves. The old syntax will still work for allowing every user to add groups to themselves, but it is recommended that you use $wgGroupsAddToSelf['user'] = array( 'group1', 'group2' ); instead.
You may use $wgGroupsAddToSelf['group'] = true; to allow users in that group to add every group to themselves.
[edit] See also
- Manual:$wgAddGroups
- Manual:$wgRemoveGroups
- Manual:$wgGroupsRemoveFromSelf
- Manual:$wgGroupPermissions
- Manual:User rights management - information about managing and the assignment of user groups.