stable

Clone or download

Read-only

Disable service when project is a team

part of story #22211 restrict activation of Program Management service How to test: go on Admin > Service of a Team project => you can not enable service, an info message explain why you can't Change-Id: I8b51f02f495fe33e601211f9c7e6b75f9f893537

Modified Files

Name
A plugins/program_management/include/Domain/Service/ProjectServiceBeforeActivationHandler.php +51 −0 Go to diff View file
A plugins/program_management/include/Domain/Service/ServiceDisabledCollectorHandler.php +50 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +18 −0 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +4 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Service/ProjectServiceBeforeActivationHandlerTest.php +66 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Service/ServiceDisabledCollectorHandlerTest.php +63 −0 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +4 −4 Go to diff View file
M src/common/Project/Event/ProjectServiceBeforeActivation.php +19 −48 Go to diff View file
A src/common/Project/Service/ServiceDisabledCollector.php +66 −0 Go to diff View file
M src/common/Project/Service/ServiceJSONPresenter.php +18 −27 Go to diff View file
M src/common/Project/Service/ServicesPresenterBuilder.php +13 −2 Go to diff View file
M src/scripts/project/admin/services/src/components/Service/EditableSystemService.vue +1 −2 Go to diff View file
M src/scripts/project/admin/services/src/components/Service/InCreationCustomService.vue +1 −2 Go to diff View file
M src/scripts/project/admin/services/src/components/Service/InEditionCustomService.vue +1 −2 Go to diff View file
M src/scripts/project/admin/services/src/components/Service/ReadOnlySystemService.vue +1 −2 Go to diff View file
M src/scripts/project/admin/services/src/components/Service/ServiceIsUsed.vue +4 −0 Go to diff View file
M src/themes/BurningParrot/css/includes/project-admin/_services.scss +3 −14 Go to diff View file
M tests/unit/common/Project/Service/ServicesPresenterBuilderTest.php +63 −2 Go to diff View file