stable

Clone or download

Read-only

Inherit synchronized membership setting at project creation

Part of story #13490 have a consistent management of project & groups members How to test: Create a new public project. - When you choose a public project that has the "Synchronized Project membership" setting (forge your DB), the setting is inherited as activated. - When you choose a public project that does not have the setting, no row is added in the DB, the setting is not inherited. When you create a private project, the setting is not duplicated as private projects always have "synchronized project membership". Change-Id: Ie03a4514fd35914a7322df894f588d59ce436925

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AdminController.class.php +5 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +6 −2 Go to diff View file
M src/common/CLI/Command/ImportProjectXMLCommand.php +5 −1 Go to diff View file
M src/common/Project/OneStepCreation/OneStepCreationController.class.php +12 −9 Go to diff View file
M src/common/Project/ProjectCreator.class.php +16 −6 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +3 −1 Go to diff View file
M src/common/Project/UGroups/SynchronizedProjectMembershipDao.php +9 −0 Go to diff View file
A src/common/Project/UGroups/SynchronizedProjectMembershipDuplicator.php +47 −0 Go to diff View file
M src/www/soap/project/index.php +5 −2 Go to diff View file
M tests/integration/ProjectCreationTest.php +10 −7 Go to diff View file
M tests/integration/ProjectImportTest.php +4 −1 Go to diff View file
M tests/phpunit/common/Project/ProjectCreatorTest.php +4 −1 Go to diff View file
M tests/phpunit/common/Project/ProjectXMLImporterTest.php +2 −1 Go to diff View file
A tests/phpunit/common/Project/UGroups/SynchronizedProjectMembershipDuplicatorTest.php +67 −0 Go to diff View file
M tests/simpletest/common/Project/ProjectCreatorTest.php +4 −2 Go to diff View file