stable

Clone or download

Read-only

Add missing permission setup in MediaWiki settings

To test: 1. Build and redeploy the package 2. Call `tuleap-cfg site-deploy` to refresh the `LocalSettings.local.php` file The `LocalSettings.local.php` file is now refreshed when the site access level is modifed to update the value of the `wgTuleapAccessPreset` setting. Part of request #27186: Cannot access MediaWiki as anonymous user Change-Id: Icc46ecdb793d2c578b3c2875c14a32768a8136d9

Modified Files

Name
M plugins/mediawiki_standalone/additional-packages/mediawiki-tuleap-config/LocalSettings.Tuleap.php +23 −0 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsFactory.php +2 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsRepresentation.php +1 −0 Go to diff View file
A plugins/mediawiki_standalone/include/Instance/SiteAccessHandler.php +41 −0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +4 −1 Go to diff View file
M plugins/mediawiki_standalone/templates/local-settings-tuleap-php.mustache +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsInstantiatorTest.php +1 −8 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsPersistStub.php +33 −0 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsRepresentationForTestBuilder.php +2 −1 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/Instance/SiteAccessHandlerTest.php +53 −0 Go to diff View file