Права в вики

Материал из 2trg
Перейти к: навигация, поиск

Пользователи, доступы, учетки

If you are trying to set up a Simple private wiki, this is done by adding the following options to the MediaWiki configuration file LocalSettings.php :

  1. Disable reading by anonymous users

$wgGroupPermissions['*']['read'] = false;

  1. Disable anonymous editing

$wgGroupPermissions['*']['edit'] = false;

  1. Prevent new user registrations except by sysops

$wgGroupPermissions['*']['createaccount'] = false; For restricting only editing but not reading, omit the first instruction, leaving in place the last two.

Omit also the last instruction if you want to allow new user registrations.





Удаление пользователей

Вообще, удаление пользователей не предусмотрено, но: