Manual:$wgRemoveGroups
User rights, access control and monitoring: $wgRemoveGroups | |
---|---|
Controla quién puede eliminar grupos específicos usando Special:Userrights. |
|
Introducido en la versión: | 1.11.0 |
Eliminado en la versión: | aún se usa |
Valores permitidos: | (array) |
Valor predeterminado: | [] |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
If a group can remove any right (example: bureaucrats can remove any right):
$wgRemoveGroups['bureaucrat'] = true;
If a group remove only some rights (example: bureaucrats can remove only sysop and bot groups):
$wgRemoveGroups['bureaucrat'] = array( 'sysop', 'bot' );
Versión de MediaWiki: | ≥ 1.12 |
Note that groups which may only grant some rights (like bureaucrats in this example) need to have the userrights privilege set to false, otherwise they will still be able to remove all groups.
You can also define $wgRemoveGroups in a way that does not overwrite an extension's definition:
$wgRemoveGroups['bureaucrat'][] = 'sysop';
$wgRemoveGroups['bureaucrat'][] = 'bot';
Véase también
- $wgAddGroups
- $wgGroupsAddToSelf
- $wgGroupsRemoveFromSelf
- $wgGroupPermissions
- Manual:Derechos de usuarios - information about managing and the assignment of user groups.