stable
Clone or download
Read-only
The verification is done preemptively like the project creation permissions since it also dependent of the permissions of the current user (on another level). Part of story #21386: dry run REST project creation Change-Id: I565eb0c76acb487ac5df6fa3ec872f448374b802
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +18 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/ProjectCategoriesException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Admin/DescriptionFields/FieldDoesNotExistException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Admin/DescriptionFields/MissingMandatoryFieldException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectPostRepresentation.php | +1 | −1 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +5 | −5 | Go to diff View file |
M | src/common/Project/Registration/ProjectAccessLevelCannotBeChosenByUserException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/ProjectDescriptionMandatoryException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/ProjectInvalidFullNameException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/ProjectInvalidShortNameException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/ProjectVisibilityNeedsRestrictedUsersException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/RegistrationErrorException.php | +2 | −2 | Go to diff View file |
M | src/common/Project/Registration/RegistrationForbiddenException.php | +1 | −1 | Go to diff View file |
M | src/common/Project/Registration/Template/InsufficientPermissionToUseProjectAsTemplateException.php | +10 | −0 | Go to diff View file |
M | src/common/Project/Registration/Template/InvalidTemplateException.php | +2 | −1 | Go to diff View file |
M | src/common/Project/Registration/Template/InvalidXMLTemplateNameException.php | +5 | −0 | Go to diff View file |
M | src/common/Project/Registration/Template/ProjectIDTemplateNotProvidedException.php | +6 | −1 | Go to diff View file |
M | src/common/Project/Registration/Template/ProjectTemplateIDInvalidException.php | +8 | −0 | Go to diff View file |
M | src/common/Project/Registration/Template/ProjectTemplateNotActiveException.php | +8 | −0 | Go to diff View file |
A | src/common/REST/I18NRestMultipleMessagesException.php | +41 | −0 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +32 | −0 | Go to diff View file |
M | tests/unit/common/Project/REST/v1/RestProjectCreatorTest.php | +2 | −3 | Go to diff View file |
M | tests/unit/common/Project/Registration/ProjectRegistrationCheckerAggregatorTest.php | +2 | −2 | Go to diff View file |
M | tests/unit/common/Project/Registration/ProjectRegistrationCheckerBlockErrorSetTest.php | +2 | −2 | Go to diff View file |
M | tests/unit/common/Project/Registration/ProjectRegistrationRESTCheckerTest.php | +2 | −2 | Go to diff View file |