Права групп участников/TRW

```
$wgGroupPermissions['\*']['writeapi'] = false;

$wgGroupPermissions['user']['move'] = false;
$wgGroupPermissions['user']['move-subpages'] = false;
$wgGroupPermissions['user']['move-rootuserpages'] = false;
$wgGroupPermissions['user']['move-categorypages'] = false;
$wgGroupPermissions['user']['upload'] = false;
$wgGroupPermissions['user']['reupload'] = false;
$wgGroupPermissions['user']['reupload-shared'] = false;
$wgGroupPermissions['user']['editmyusercss'] = false;
$wgGroupPermissions['user']['editmyuserjson'] = false;
$wgGroupPermissions['user']['editmyuserjs'] = false;
$wgGroupPermissions['user']['editmyuserjsredirect'] = false;
$wgGroupPermissions['user']['applychangetags'] = false;
$wgGroupPermissions['user']['changetags'] = false;
$wgGroupPermissions['user']['editcontentmodel'] = false;

$wgGroupPermissions['editor']['move'] = true;
$wgGroupPermissions['editor']['upload'] = true;
$wgGroupPermissions['editor']['reupload'] = true;
$wgGroupPermissions['editor']['reupload-shared'] = true;
$wgGroupPermissions['editor']['autoconfirmed'] = true;
$wgGroupPermissions['editor']['editsemiprotected'] = true;
$wgGroupPermissions['editor']['skipcaptcha'] = true;

$wgGroupPermissions['community']['block'] = true;
$wgGroupPermissions['community']['delete'] = true;
$wgGroupPermissions['community']['deletedhistory'] = true;
$wgGroupPermissions['community']['deletedtext'] = true;
$wgGroupPermissions['community']['rollback'] = true;
$wgGroupPermissions['community']['unwatchedpages'] = true;
$wgGroupPermissions['community']['ipblock-exempt'] = true;
$wgGroupPermissions['community']['blockemail'] = true;
$wgGroupPermissions['community']['noratelimit'] = true;
$wgGroupPermissions['community']['suppressredirect'] = true;
$wgGroupPermissions['community']['applychangetags'] = true;
$wgGroupPermissions['community']['changetags'] = true;
$wgGroupPermissions['community']['managechangetags'] = true;
$wgGroupPermissions['community']['skipcaptcha'] = true;
$wgGroupPermissions['community']['abusefilter-log-detail'] = true;

$wgGroupPermissions['regional']['delete'] = true;
$wgGroupPermissions['regional']['bigdelete'] = true;
$wgGroupPermissions['regional']['deletedhistory'] = true;
$wgGroupPermissions['regional']['deletedtext'] = true;
$wgGroupPermissions['regional']['undelete'] = true;
$wgGroupPermissions['regional']['protect'] = true;
$wgGroupPermissions['regional']['edit-legal'] = true;
$wgGroupPermissions['regional']['browsearchive'] = true;
$wgGroupPermissions['regional']['suppressredirect'] = true;
$wgGroupPermissions['regional']['applychangetags'] = true;
$wgGroupPermissions['regional']['changetags'] = true;
$wgGroupPermissions['regional']['managechangetags'] = true;
$wgGroupPermissions['regional']['skipcaptcha'] = true;

$wgGroupPermissions['affiliate']['delete'] = true;
$wgGroupPermissions['affiliate']['bigdelete'] = true;
$wgGroupPermissions['affiliate']['undelete'] = true;
$wgGroupPermissions['affiliate']['editinterface'] = true;
$wgGroupPermissions['affiliate']['editsitejson'] = true;
$wgGroupPermissions['affiliate']['edituserjson'] = true;
$wgGroupPermissions['affiliate']['import'] = true;
$wgGroupPermissions['affiliate']['importupload'] = true;
$wgGroupPermissions['affiliate']['move'] = true;
$wgGroupPermissions['affiliate']['move-subpages'] = true;
$wgGroupPermissions['affiliate']['move-categorypages'] = true;
$wgGroupPermissions['affiliate']['editmyusercss'] = true;
$wgGroupPermissions['affiliate']['editmyuserjson'] = true;
$wgGroupPermissions['affiliate']['editmyuserjs'] = true;
$wgGroupPermissions['affiliate']['editmyuserjsredirect'] = true;
$wgGroupPermissions['affiliate']['purge'] = true;
$wgGroupPermissions['affiliate']['protect'] = true;
$wgGroupPermissions['affiliate']['edit-legal'] = true;
$wgGroupPermissions['affiliate']['rollback'] = true;
$wgGroupPermissions['affiliate']['apihighlimits'] = true;
$wgGroupPermissions['affiliate']['noratelimit'] = true;
$wgGroupPermissions['affiliate']['applychangetags'] = true;
$wgGroupPermissions['affiliate']['changetags'] = true;
$wgGroupPermissions['affiliate']['managechangetags'] = true;
$wgGroupPermissions['affiliate']['deletechangetags'] = true;
$wgGroupPermissions['affiliate']['editcontentmodel'] = true;
$wgGroupPermissions['affiliate']['skipcaptcha'] = true;
$wgGroupPermissions['affiliate']['abusefilter-log'] = true;
$wgGroupPermissions['affiliate']['abusefilter-log-detail'] = true;
$wgGroupPermissions['affiliate']['abusefilter-view'] = true;
$wgGroupPermissions['affiliate']['abusefilter-modify'] = true;
$wgGroupPermissions['affiliate']['abusefilter-revert'] = true;

$wgGroupPermissions['sysop']['edit-legal'] = true;
$wgGroupPermissions['sysop']['court'] = true;
$wgGroupPermissions['sysop']['upload\_by\_url'] = true;
$wgGroupPermissions['sysop']['applychangetags'] = true;
$wgGroupPermissions['sysop']['changetags'] = true;
$wgGroupPermissions['sysop']['editcontentmodel'] = true;
$wgGroupPermissions['sysop']['abusefilter-log'] = true;
$wgGroupPermissions['sysop']['abusefilter-log-detail'] = true;
$wgGroupPermissions['sysop']['abusefilter-view'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;

$wgGroupPermissions['court']['noratelimit'] = true;
$wgGroupPermissions['court']['hideuser'] = true;
$wgGroupPermissions['court']['suppressrevision'] = true;
$wgGroupPermissions['court']['viewsuppressed'] = true;
$wgGroupPermissions['court']['suppressionlog'] = true;
$wgGroupPermissions['court']['deleterevision'] = true;
$wgGroupPermissions['court']['deletelogentry'] = true;
$wgGroupPermissions['court']['renameuser'] = true;

$wgGroupPermissions['bureaucrat']['hideuser'] = true;
$wgGroupPermissions['bureaucrat']['suppressrevision'] = true;
$wgGroupPermissions['bureaucrat']['viewsuppressed'] = true;
$wgGroupPermissions['bureaucrat']['suppressionlog'] = true;
$wgGroupPermissions['bureaucrat']['deleterevision'] = true;
$wgGroupPermissions['bureaucrat']['renameuser'] = true;
$wgGroupPermissions['bureaucrat']['checkuser'] = true;
$wgGroupPermissions['bureaucrat']['checkuser-log'] = true;
$wgGroupPermissions['bureaucrat']['nuke'] = true;

$wgAddGroups['court'][] = 'community';
$wgAddGroups['court'][] = 'regional';
$wgAddGroups['court'][] = 'affiliate';
$wgAddGroups['court'][] = 'bot';
$wgAddGroups['court'][] = 'editor';
$wgRemoveGroups['court'][] = 'community';
$wgRemoveGroups['court'][] = 'regional';
$wgRemoveGroups['court'][] = 'affiliate';
$wgRemoveGroups['court'][] = 'bot';
$wgRemoveGroups['court'][] = 'editor';

$wgRestrictionLevels = array( '', 'autoconfirmed', 'emailconfirmed', 'edit-legal', 'court', 'userrights' );

```