add moderator group

This commit is contained in:
lassulus 2024-04-02 15:24:20 +02:00
parent 4aa2b70408
commit 0de0302fa9

View File

@ -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;
'';
};