Skip to content
Permalink
Browse files
[SECURITY]: avoid global sensitive rights; 2FA for js on meta (#4587)
  • Loading branch information
RhinosF1 committed Apr 14, 2022
1 parent e4af8ce commit 1cd02c300158caea6b538f6933fef583eb1ac7d2
Showing with 22 additions and 1 deletion.
  1. +22 −1 LocalSettings.php
@@ -2479,6 +2479,20 @@
'noratelimit' => true,
'userrights' => true,
'userrights-interwiki' => true,
'globalgroupmembership' => true,
'globalgrouppermissions' => true,
],
'sysadmin' => [
'userrights' => true,
'globalgroupmembership' => true,
'globalgrouppermissions' => true,
'userrights-interwiki' => true,
],
'trustandsafety' => [
'userrights' => true,
'globalgroupmembership' => true,
'globalgrouppermissions' => true,
'userrights-interwiki' => true,
],
'sysop' => [
'interwiki' => true,
@@ -2662,6 +2676,8 @@
'steward',
'staff',
'interwiki-admin',
'sysadmin',
'trustandsafety',
],
],
'wgManageWikiPermissionsDefaultPrivateGroup' => [
@@ -3155,7 +3171,12 @@
'ldapwikiwiki' => 'ldapwikiwiki',
'betaheze' => 'testglobal',
],

'wgOATHExclusiveRights' => [
'metawiki' => [
'edituserjs',
'editsitejs',
],
],
// OAuth
'wgMWOAuthCentralWiki' => [
'default' => 'metawiki',

0 comments on commit 1cd02c3

Please sign in to comment.