stable

Clone or download

Read-only

fix: request #39728: If a user does not have access at all to a tracker, it should not be displayed in the backlog.

Change-Id: Idb2f9f0af220ab602769745a7276a5e90118d530

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Artifact/EventRedirectAfterArtifactCreationOrUpdateHandler.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/BacklogItem/PaginatedBacklogItemsRepresentationsBuilder.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/FormElement/MessageFetcher.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/Backlog.php +4 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogFactory.class.php +8 −8 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/HeaderOptionsProvider.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneParentLinker.php +9 −8 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/MilestoneReportCriterionOptionsProvider.class.php +8 −8 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Details/DetailsPresenterBuilder.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Pane/Planning/SubmilestoneFinder.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Sidebar/PromotedMilestoneBuilder.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/PaneInfoFactory.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Planning/HeaderOptionsForPlanningProvider.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneRepresentationBuilder.php +7 −7 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResourceValidator.class.php +6 −6 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/PlanningResource.class.php +2 −5 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/SequenceIdManager.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/ArtifactLinker.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneController.class.php +2 −2 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestoneFactory.class.php +18 −32 Go to diff View file
M plugins/agiledashboard/include/Planning/MilestonePaneFactory.class.php +4 −4 Go to diff View file
M plugins/agiledashboard/include/Planning/Planning.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +3 −3 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningFactory.class.php +18 −25 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningRequestValidator.class.php +15 −10 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +3 −27 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Artifact/EventRedirectAfterArtifactCreationOrUpdateHandlerTest.php +7 −7 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/FormElement/MessageFetcherTest.php +11 −8 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Backlog/AgileDashboard_SequenceIdManagerTest.php +6 −6 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/HeaderOptionsProviderTest.php +1 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Milestone/Pane/Planning/SubmilestoneFinderTest.php +17 −13 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/ArtifactLinkerTest.php +1 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetBareMilestoneByArtifactIdTest.php +5 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetLastMilestoneCreatedTest.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneFromArtifactTest.php +6 −2 Go to diff View file
D plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneFromArtifactWithPlannedArtifactsTest.php +0 −55 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneTest.php +1 −1 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetMilestoneWithAncestorsTest.php +3 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/MilestoneFactoryGetPaginatedMilestonesTest.php +3 −3 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningControllerTest.php +64 −61 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningFactoryDuplicationTest.php +15 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningFactoryTestGetPlanningByPlanningTrackerTest.php +15 −9 Go to diff View file
M plugins/agiledashboard/tests/unit/AgileDashboard/Planning/PlanningFactoryTestGetPlanningTest.php +5 −5 Go to diff View file
M plugins/agiledashboard/tests/unit/Planning/Planning_RequestValidatorTest.php +8 −9 Go to diff View file
M plugins/cardwall/include/SingleCardBuilder.class.php +5 −5 Go to diff View file
M plugins/cardwall/include/cardwallPlugin.php +3 −3 Go to diff View file
M plugins/program_management/include/Adapter/Program/PlanningAdapter.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Events/TrackersDuplicatedHandlerTest.php +2 −0 Go to diff View file
M plugins/projectmilestones/include/Widget/ProjectMilestonesPresenterBuilder.php +6 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/ChartMessageFetcher.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Event/MessageFetcherAdditionalWarnings.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Text.php +1 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +5 −6 Go to diff View file
M plugins/tracker/include/Tracker/TrackerEventTrackersDuplicated.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +8 −2 Go to diff View file
M plugins/tracker/include/Tracker/TrackerManager.class.php +2 −2 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +1 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerFactoryDuplicationTest.php +6 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerManagerTest.php +1 −0 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/BacklogRetriever.php +2 −2 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +3 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityAdminPresenterBuilder.php +2 −1 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocityPresenterBuilder.php +2 −1 Go to diff View file
M plugins/velocity/include/velocityPlugin.php +4 −3 Go to diff View file
M tests/psalm/psalm.xml +0 −1 Go to diff View file