stable

Clone or download

Read-only

Replace direct test of sys_use_project_registration

The value of sys_use_project_registration is not enough to know if one can create projects so better use ProjectRegistrationUserPermissionChecker for this purpose. Part of story #8283: Enhance project creation user experience Change-Id: I6ff40288c089f11dcb82c26cb89ba8767d429adb

Modified Files

Name
M src/common/Project/ProjectCreator.class.php +0 −6 Go to diff View file
M src/common/Project/Project_SOAPServer.class.php +15 −4 Go to diff View file
M src/common/Project/REST/v1/RestProjectCreator.php +0 −2 Go to diff View file
M src/common/Project/Registration/ProjectRegistrationUserPermissionChecker.php +11 −1 Go to diff View file
M src/www/soap/project/index.php +6 −2 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +5 −1 Go to diff View file
M src/www/themes/BurningParrot/HeaderPresenterBuilder.php +5 −2 Go to diff View file
M src/www/themes/BurningParrot/Navbar/DropdownMenuItem/Content/Projects/ProjectsPresenter.php +2 −1 Go to diff View file
M src/www/themes/BurningParrot/Navbar/PresenterBuilder.php +13 −5 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +5 −1 Go to diff View file
M src/www/themes/FlamingParrot/NavBarItemPresentersCollectionBuilder.php +11 −2 Go to diff View file
M src/www/themes/FlamingParrot/NavBarItemProjectsPresenter.php +2 −2 Go to diff View file
M tests/integration/tests/ProjectCreationTest.php +1 −1 Go to diff View file
M tests/phpunit/common/Project/ProjectCreatorTest.php +0 −62 Go to diff View file
M tests/simpletest/common/Project/Project_SOAPServerTest.php +66 −6 Go to diff View file