Extension:Sudo/zh
![]() | 此目前不再積極维护! 尽管它可能仍然工作,但任何错误报告或功能请求将很可能被忽略。 如果您对承担开发与维护该的任务工作感兴趣,您可以请求自己的存储库。 作为礼貌,您或许可以联络作者。 或者您应移除该模板,并在页面的{{ }}信息框中将您自己列为的维护人员。 |
![]() 不再維護Category:Unmaintained extensions/zh |
|
---|---|
Category:User identity extensions/zh | |
描述 | 使wiki上的Sudoers能够登录其他用户的帐户。 |
作者 | Daniel Friesen (Dantman留言) |
最新版本 | 0.6.0 (2018-06-29) |
MediaWiki | >= 1.35.0 |
否 | |
GNU通用公眾授權條款2.0或更新版本 | |
下載 | Category:Extensions in Wikimedia version control/zh |
|
|
前往translatewiki.net翻譯Sudo | |
問題 | 开启的任务 · |
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.
这可以用于帮助用户设置他们自己的偏好,测试以查看UI中的某些内容是否受到他们的登录的影响,或者更改其名称下的内容。
Usage
Users with the sudo
permission can temporarily "switch" to any other user using Special:Sudo
.
无法在不知道密码的情况下,通过此扩展的帮助来更改帐户的电子邮件地址。
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. 要小心你给sudo,因为它可能会以最恶劣的方式被滥用。
- 下载,并将解压后的
Sudo
移动到extensions/
目录中。
开发者和代码贡献人员应从Git安装扩展,输入:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Sudo
- 将下列放置在您的LocalSettings.php 的底部:
wfLoadExtension( 'Sudo' );
- 在方便时配置用户组和用户权限。
完成 – 在您的wiki上至Special:Version,以验证已成功安装。
必须为现有用户组设置用户权限“sudo”,例如 “行政员”或最好是新用户组:
$wgGroupPermissions['bureaucrat']['sudo'] = true;
$wgGroupPermissions['sudo']['sudo'] = true;
已知問題
![]() | This extension was migrated from Daniel Friesen's Wiki-Tools.com and checked into Wikimedia's software repository. |