stable
Clone or download
Read-only
Rest API should respect platform configuration and do not validate just created projects
part of story #8283: Enhance project creation user experience How to test: Make your platform configuration to project need an admin approval Create a new project with the REST route => project should be in pending project Change-Id: I5d4c1d7260889d1fcfeadcc0fe3e728bbe743b4e
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/include/AgileDashboard/AdminController.class.php | +2 | −1 | Go to diff View file |
M | plugins/agiledashboard/include/Planning/PlanningController.class.php | +1 | −1 | Go to diff View file |
M | src/common/CLI/Command/ImportProjectXMLCommand.php | +1 | −1 | Go to diff View file |
M | src/common/Project/ProjectCreator.class.php | +84 | −33 | Go to diff View file |
M | src/common/Project/ProjectXMLImporter.class.php | +2 | −2 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +2 | −1 | Go to diff View file |
M | tests/integration/tests/ProjectCreationTest.php | +1 | −55 | Go to diff View file |
M | tests/phpunit/common/Project/ProjectCreatorTest.php | +168 | −38 | Go to diff View file |
M | tests/phpunit/common/Project/ProjectXMLImporterTest.php | +1 | −0 | Go to diff View file |