stable
Clone or download
Read-only
This is part of story #21386: dry run REST project creation The permission check is now done in the collection at project creation, regadring the type of project creation (REST or XML import). This check was redone in the category updater object, and so introduce the check for the XML import that must not be done. Change-Id: I63985e4c729840d53af8f337f360d7661648c658
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Admin/Categories/ProjectCategoriesUpdater.php | +4 | −9 | Go to diff View file |
A | src/common/Project/Admin/Categories/UpdateCategoriesProcessor.php | +53 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/UpdateController.php | +19 | −21 | Go to diff View file |
M | tests/unit/common/Project/Admin/Categories/ProjectCategoriesUpdaterTest.php | +1 | −44 | Go to diff View file |
A | tests/unit/common/Project/Admin/Categories/UpdateCategoriesProcessorTest.php | +117 | −0 | Go to diff View file |
M | tests/unit/common/Project/Admin/Categories/UpdateControllerTest.php | +8 | −7 | Go to diff View file |