Extensão:Sudo

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:Sudo and the translation is 19% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎español • ‎français • ‎polski • ‎português • ‎sicilianu • ‎中文 • ‎日本語
Manual de extensões do MediaWiki
OOjs UI icon advanced.svg
Sudo
Estado da versão: sem manutenção
Implementação User identity
Descrição Gives the ability for Sudoers on the wiki to login to other users' accounts.
Autor(es) Daniel Friesen (Dantmantalk)
Última versão 0.5.0 (2017-07-26)
MediaWiki 1.23+
Alterações à
base de dados
Não
Licença GNU General Public License 2.0 or later
Exportação (Download)
Privilégios adicionados
sudo
Hooks usados
UserLogoutComplete
PersonalUrls
Traduza a extensão Sudo se ela estiver disponível na wiki translatewiki.net
Verifique a matriz de utilização e versões

The Sudo extension the ability for Sudoers on the wiki to login to other users' accounts, using "Special:Sudo". This may be used for helping users set their own preferences, testing to see if something in the UI is affected by their login, or changing things under their name.

Sudo does log use of sudo to transfer to another user's accounts, however beyond that there is no tracking of what the sudoed user does. Be careful who you give sudo to as it can be abused in the worst of ways.

Instalação

  • Exporte e coloque o ficheiro, ou ficheiros, num diretório chamado Sudo, na sua pasta extensions/.

Configuração

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

  • task T177949 - Sudoer cannot "return to your account" for a blocked account (MW 1.28+)

See also

  • $wgRequirePasswordforEmailChange — Allows to change the email using this extension (MW 1.20.x to MW 1.26.x) when set to "false". Starting with MW 1.27.0 it is no longer possible to change the email address of an account without knowing the password with the help of this extension. Use the EditAccount extension instead.