Jump to content

Extension:Sudo

From mediawiki.org
MediaWiki extensions manual
Sudo
Release status: unmaintained
Implementation User identity
Description Gives the ability for Sudoers on the wiki to login to other users' accounts.
Author(s) Daniel Friesen (Dantmantalk)
Latest version 0.6.0 (2018-06-29)
MediaWiki 1.29+
Database changes No
License GNU General Public License 2.0 or later
Download
  • sudo
Quarterly downloads 6 (Ranked 133rd)
Translate the Sudo extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

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. It is not longer possible to change the email address of an account without knowing the password with the help of this extension.

Installation

Configuration

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.