mirror of
https://github.com/Mic92/nixos-wiki-infra.git
synced 2024-11-24 17:23:34 +01:00
add moderator group
This commit is contained in:
parent
4aa2b70408
commit
0de0302fa9
@ -139,10 +139,19 @@ in
|
||||
|
||||
$wgPygmentizePath = "${pkgs.python3Packages.pygments}/bin/pygmentize";
|
||||
|
||||
# Enable extra groups
|
||||
## enable trusted group
|
||||
# add extra groups
|
||||
## add trusted group
|
||||
$wgGroupPermissions['trusted'] = $wgGroupPermissions['user'];
|
||||
$wgGroupPermissions['trusted']['delete'] = true;
|
||||
|
||||
## add moderator group
|
||||
$wgGroupPermissions['moderator'] = $wgGroupPermissions['user'];
|
||||
$wgGroupPermissions['moderator']['delete'] = true;
|
||||
$wgGroupPermissions['moderator']['blockusers'] = true;
|
||||
$wgGroupPermissions['moderator']['rollback'] = true;
|
||||
$wgGroupPermissions['moderator']['viewdeleted'] = true;
|
||||
$wgGroupPermissions['moderator']['oversight'] = true;
|
||||
$wgGroupPermissions['moderator']['protect'] = true;
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user