Manual:$wgGrantRiskGroups

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<translate> User rights, access control and monitoring</translate>: $wgGrantRiskGroups
Group grants by risk level.
<translate> Introduced in version:</translate>1.42.0 (Gerrit change 910822; git #183372c9)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>See below

Details

Group grants by risk level. Keys are grant names (i.e. keys from $wgGrantPermissions ), values are GrantsInfo::RISK_* constants.

This classification is only informative; merely applying 'security' or 'internal' to a grant won't prevent it from being available. It's used to give guidance to users in various interfaces about the riskiness of the various grants.

Default value

$wgGrantRiskGroups = [
	'basic' => 'low',
	'editpage' => 'low',
	'createeditmovepage' => 'low',
	'editprotected' => 'vandalism',
	'patrol' => 'low',
	'uploadfile' => 'low',
	'uploadeditmovefile' => 'low',
	'sendemail' => 'security',
	'viewmywatchlist' => 'low',
	'editviewmywatchlist' => 'low',
	'editmycssjs' => 'security',
	'editmyoptions' => 'security',
	'editinterface' => 'vandalism',
	'editsiteconfig' => 'security',
	'rollback' => 'low',
	'blockusers' => 'vandalism',
	'delete' => 'vandalism',
	'viewdeleted' => 'vandalism',
	'viewrestrictedlogs' => 'security',
	'protect' => 'vandalism',
	'oversight' => 'security',
	'createaccount' => 'low',
	'mergehistory' => 'vandalism',
	'import' => 'security',
	'highvolume' => 'low',
	'privateinfo' => 'low',
];