Jump to content

Extensión:Sudo

From mediawiki.org
This page is a translated version of the page Extension:Sudo and the translation is 23% complete.
Manual de extensiones de MediaWiki
Sudo
Estado de la versión: sin mantenimiento
Implementación Identidad de usuario
Descripción Gives the ability for Sudoers on the wiki to login to other users' accounts.
Autor(es) Daniel Friesen (Dantmandiscusión)
Última versión 0.6.0 (2018-06-29)
MediaWiki >= 1.40.0
Cambios en la base de datos No
  • sudo
Licencia Licencia Pública General de GNU 2.0 o posterior
Descargar
Traduce la extensión Sudo si está disponible en translatewiki.net
Incidentes Tareas abiertas · Reportar un error

The Sudo extension enables granting trusted users the ability to "impersonate" other users, as if they had logged with the account of impersonated users. Its name refers to Unix’s sudo command, which has a similar purpose. This may be used for helping users set their own preferences, changing things under their name or testing how the UI behaves with their account, for example to see effective permissions.

Usage

Users with the sudo permission can temporarily "switch" to any other user using Special:Sudo.

This extension no longer allows changing the email address of an account without knowing its password.

Security

Logging is limited; switches to another user account via Sudo are logged, however there is no tracking of which actions are performed through impersonation. Be careful who you give the permission to, as it can be abused in the worst of ways.

Instalación

  • Descarga y mueve la carpeta Sudo extraída a tu directorio extensions/.
    Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Sudo
    
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'Sudo' );
    
  • Configure user group and user right at your convenience.
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Configuración

The user right "sudo" will have to be set for an existing user group, e.g. "bureaucrat" or preferably for a new user group:

$wgGroupPermissions['bureaucrat']['sudo'] = true;
$wgGroupPermissions['sudo']['sudo'] = true;

Known issues

See phab:maniphest/query/Uaw4sPCoSHql/#R.