stable

Clone or download

Read-only

feat: Import/Export MediaWiki standalone READ permission

Export a project that have some MW standalone permissions set on project members and static ugroups. Do it via CLI or web UI (if feature_flag_allow_project_structure_xml_export = 1 you can export xml via project ยป admin ยป data ยป export). Import it back (with a different project name). The new project have the same permissions. Part of story #25733: manage mediawiki permissions Change-Id: I0ccf05afd8399aca494cc131b779d893372de022

Modified Files

Name
M Makefile +1 โˆ’1 Go to diff View file
M plugins/baseline/tests/unit/Adapter/Administration/PermissionPerGroupBaselineServicePaneBuilderTest.php +6 โˆ’18 Go to diff View file
A plugins/mediawiki_standalone/include/XML/XMLMediaWikiExporter.php +65 โˆ’0 Go to diff View file
A plugins/mediawiki_standalone/include/XML/XMLMediaWikiImporter.php +81 โˆ’0 Go to diff View file
M plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php +42 โˆ’0 Go to diff View file
A plugins/mediawiki_standalone/resources/mediawiki-definition.rnc +2 โˆ’0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/XML/XMLMediaWikiExporterTest.php +77 โˆ’0 Go to diff View file
A plugins/mediawiki_standalone/tests/unit/XML/XMLMediaWikiImporterTest.php +69 โˆ’0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImport/XMLImportFieldStrategyPermissionsOnArtifact.class.php +3 โˆ’2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_List_Bind_Ugroups.php +3 โˆ’0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_List_BindFactoryTest.php +1 โˆ’1 Go to diff View file
M src/common/Project/UGroupManager.class.php +1 โˆ’4 Go to diff View file
M src/common/Project/UGroupRetriever.php +2 โˆ’0 Go to diff View file
M src/common/xml/resources/project/project.rnc +2 โˆ’0 Go to diff View file
M src/common/xml/resources/project/project.rng +18 โˆ’0 Go to diff View file
M tests/lib/Stubs/UGroupRetrieverStub.php +20 โˆ’5 Go to diff View file
M tests/unit/common/Project/ProjectXMLImporterTest.php +12 โˆ’5 Go to diff View file