stable
Clone or download
Read-only
Have a tracker with the status field only readable by project admin. As project member submit two artifacts. As project admin close one of the two artifacts. As project member go to the roadmap based on the tracker. ➡️ The two artifacts should not be displayed. As project admin, the artifacts are displayed. Closes request #22188: No read for status means no tasks in roadmap Change-Id: I5bd216deb177460177d405591493c910098b285a
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/roadmap/include/Roadmap/REST/v1/IDetectIfArtifactIsOutOfDate.php | +6 | −1 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksOutOfDateFilter.php | +6 | −4 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/RoadmapTasksRetriever.php | +6 | −1 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/SubtasksRetriever.php | +21 | −18 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/TaskOutOfDateDetector.php | +19 | −3 | Go to diff View file |
M | plugins/roadmap/include/Roadmap/REST/v1/TasksResource.php | +5 | −3 | Go to diff View file |
A | plugins/roadmap/include/Roadmap/REST/v1/TrackersWithUnreadableStatusCollection.php | +68 | −0 | Go to diff View file |
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksOutOfDateFilterTest.php | +8 | −2 | Go to diff View file |
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/RoadmapTasksRetrieverTest.php | +6 | −3 | Go to diff View file |
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/SubtasksRetrieverTest.php | +3 | −1 | Go to diff View file |
M | plugins/roadmap/tests/unit/Roadmap/REST/v1/TaskOutOfDateDetectorTest.php | +114 | −7 | Go to diff View file |
A | plugins/roadmap/tests/unit/Roadmap/REST/v1/TrackersWithUnreadableStatusCollectionTest.php | +66 | −0 | Go to diff View file |