Extension:Sudo

Category:Unmaintained extensions#Sudo Category:Extensions without an imageCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
Sudo
Release status: unmaintainedCategory:Unmaintained extensions
Implementation User identity Category:User identity extensions
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.35.0
Database changes No
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
  • sudo
Translate the Sudo extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

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.

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.


Category:Extensions migrated from Wiki-Tools#Sudo
Category:All extensions Category:Extensions in Wikimedia version control Category:Extensions migrated from Wiki-Tools Category:Extensions without a compatibility policy Category:Extensions without an image Category:GPL licensed extensions Category:SkinTemplateNavigation::Universal extensions Category:Unmaintained extensions Category:UserLogoutComplete extensions Category:User identity extensions