Jump to content

Extension:Sudo/ru

From mediawiki.org
This page is a translated version of the page Extension:Sudo and the translation is 15% complete.
Справка по расширениям MediaWiki
Sudo
Статус релиза: не поддерживается
Реализация Идентификация пользователя
Описание Gives the ability for Sudoers on the wiki to login to other users' accounts.
Автор(ы) Daniel Friesen (Dantmanобсуждение)
Последняя версия 0.6.0 (2018-06-29)
MediaWiki >= 1.40.0
Изменения в БД Нет
Лицензия GNU General Public License 2.0 или позднее
Скачать
  • sudo
Переведите расширение Sudo, если оно доступно на translatewiki.net
Проблемы Открытые задачи · Сообщить об ошибке

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.

Установка

  • Скачайте и распакуйте файл(ы) в папку с названием Sudo в вашей папке extensions/.
    Вместо этого разработчикам и соавторам кода следует установить расширение из Git, используя:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Sudo
    
  • Добавьте следующий код в конце вашего файла LocalSettings.php :
    wfLoadExtension( 'Sudo' );
    
  • Configure user group and user right at your convenience.
  • Yes Готово – Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что расширение успешно установлено.

Настройка

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.