stable

Clone or download

Read-only

fix: persist correct site access level for MW Standalone

At site access change, the persisted value was the current (hence previous in the contexte of a change) instead of the new value. Closes request #28260 LocalSettings wgTuleapAccessPreset doesn't have the expected value Change-Id: I1d1da3a117120a40f1a9b2e073ff40f648cbdadd

Modified Files

Name
M plugins/mediawiki_standalone/include/Configuration/GenerateLocalSettingsCommand.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsFactory.php +2 −2 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsInstantiator.php +7 −6 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/LocalSettingsRepresentationBuilder.php +4 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Configuration/MediaWikiInstallAndUpdateScriptCaller.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/include/Instance/SiteAccessHandler.php +5 −2 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +3 −2 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsFactoryTest.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsInstantiatorTest.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsPersistToPHPFileTest.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/LocalSettingsRepresentationForTestBuilder.php +2 −2 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Configuration/MediaWikiAsyncInstallAndUpdateProcessorTest.php +1 −1 Go to diff View file
M plugins/mediawiki_standalone/tests/unit/Instance/SiteAccessHandlerTest.php +1 −1 Go to diff View file
M src/common/ForgeAccess/ForgeAccess.php +8 −0 Go to diff View file