stable

Clone or download

Read-only

closes request #23379 I can bypass the creation check for Program increments

Given I am a project member of the Program but I am not project member of one of the Teams, when I go in the iteration tracker, I don't see an error and I am redirected to artifact creation view. I should have seen an error telling me I don't have permission to create a new iteration. Change-Id: I40d923d16c744468110bfcf33f9a8f83c51b5886

Modified Files

Name
M plugins/program_management/include/Adapter/Program/PlanningAdapter.php +7 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ConfigurationErrorsCollector.php +25 −8 Go to diff View file
R plugins/program_management/include/Domain/Program/Admin/Configuration/TeamHasNoRootPlanningPresenter.php Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/TrackerErrorPresenter.php +17 −7 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/IterationCreatorChecker.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/TrackerCollection.php +12 −5 Go to diff View file
D plugins/program_management/include/Domain/Program/PlanningConfiguration/SecondPlanningNotFoundInProjectException.php +0 −31 Go to diff View file
M plugins/program_management/include/Domain/Team/MirroredTimebox/RetrievePlanningMilestoneTracker.php +1 −3 Go to diff View file
M plugins/program_management/site-content/fr_FR/LC_MESSAGES/tuleap-program_management.po +9 −3 Go to diff View file
M plugins/program_management/templates/admin/configuration-errors/team-errors.mustache +13 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorsCollectorTest.php +9 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/PlanningAdapterTest.php +29 −11 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/TrackerCollectionTest.php +15 −13 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrievePlanningMilestoneTrackerStub.php +3 −3 Go to diff View file