Segregate right to edit sitewide CSS/JS
authorGergő Tisza <tgr.huwiki@gmail.com>
Tue, 20 Mar 2018 22:44:27 +0000 (15:44 -0700)
committerGergő Tisza <tgr.huwiki@gmail.com>
Sun, 22 Jul 2018 10:37:32 +0000 (12:37 +0200)
commitdb888bc5ad43e0471bcb1adcf600acf66a5d8353
treedc3fcb876b27d21ccc85ed0d9c6bc4d1f09275b7
parent69a9b1af2b00a15d5d9c75f43f3134595e54511e
Segregate right to edit sitewide CSS/JS

To limit the likelihood of incidents like T189665, the ability to
edit sitewide CSS/JSON/JS is split out from editinterface, into
separate 'editsitecss', 'editsitejson' and 'editsitejs' rights.

editsitecss, editsitejs, and the right to edit another (potentially
more privileged) user's personal CSS/JS is removed from sysops, and
a new user group, interface-admin, is created specifically for that
task (along with a new grant group 'editsiteconfig').

interface-admin is granted to the first user of a new wiki, along with
sysop and bureaucrat.

Bug: T120886
Bug: T190015
Depends-On: Ia9b2ea1450aff6121dc0f3777bf029292c8aaad9
Change-Id: Ifefd872640642441e26f8b2f144ffe4b88d2eb12
RELEASE-NOTES-1.32
includes/DefaultSettings.php
includes/MWGrants.php
includes/Title.php
includes/installer/Installer.php
includes/installer/WebInstallerName.php
includes/user/User.php
languages/i18n/en.json
languages/i18n/qqq.json
maintenance/createAndPromote.php