stable

Clone or download

Read-only

request #13379: Adding a non-project member to the project administrators does not update the project member group

Issue introduced by dda39bbbb1b3a94e6b3537444a11176eccab0cbe. This contribution also fixes an issue with the project ownership plugin and the project XML import. A project imported via XML could have no project owner at the end of the import, we know make sure one the administrator is chosen as the project owner. Change-Id: I791f753767f0dc8061b18bd89a588a4ff5e3cc42

Modified Files

Name
A plugins/project_ownership/include/ProjectOwner/XMLProjectImportUserCreatorProjectOwnerCleaner.php +56 −0 Go to diff View file
M plugins/project_ownership/include/project_ownershipPlugin.class.php +20 −1 Go to diff View file
A plugins/project_ownership/phpunit/ProjectOwner/XMLProjectImportUserCreatorProjectOwnerCleanerTest.php +89 −0 Go to diff View file
A src/common/Project/Admin/ProjectUGroup/NotProjectAdministratorUGroup.php +34 −0 Go to diff View file
A src/common/Project/Admin/ProjectUGroup/ProjectImportCleanupUserCreatorFromAdministrators.php +65 −0 Go to diff View file
M src/common/Project/ProjectUGroup.php +24 −93 Go to diff View file
M src/common/Project/ProjectXMLImporter.class.php +6 −2 Go to diff View file
A tests/phpunit/common/Project/Admin/ProjectUGroup/ProjectImportCleanupUserCreatorFromAdministratorsTest.php +54 −0 Go to diff View file
M tests/simpletest/common/Project/UGroupTest.php +11 −58 Go to diff View file