stable

Clone or download

Read-only

Project visibility is verified in the project creation dry-run

Note this fix a behavior of the REST API where the users could request a mode that does not make sense with the instance configuration. Part of story #21386: dry run REST project creation Change-Id: I0a95ea24a6bd26ce0a101457ba3b3ee8abeac7c0

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +10 −2 Go to diff View file
M src/common/CLI/Command/ImportProjectXMLCommand.php +2 −1 Go to diff View file
M src/common/Project/ProjectCreationData.class.php +10 −27 Go to diff View file
M src/common/Project/REST/v1/RestProjectCreator.php +2 −1 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationBaseChecker.php +17 −0 Go to diff View file
A src/common/Project/Registration/ProjectVisibilityNeedsRestrictedUsersException.php +53 −0 Go to diff View file
M tests/unit/common/Project/ProjectCreationDataTest.php +2 −28 Go to diff View file
M tests/unit/common/Project/Registration/ProjectRegistrationBaseCheckerTest.php +10 −2 Go to diff View file