stable

Clone or download

Read-only

GET /kanban/:id/backlog

It returns a sliced collection of items that have no value for the status field. Furthermore it prevents user to access forbidden resources (tracker, title, …). This means that: - a feedback is displayed when the user forges the url to see a kanban on a forbidden tracker - the list of kanban on A.D. homepage excludes the kanban on forbidden trackers - the rest routes return 403 if user cannot access the tracker (or does not have lab mode activated) Part of story #7577 display a Kanban cardwall Change-Id: I3ee78b4f88b086af64c5749830ab7a4fa1e1cdbe

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/AgileDashboardController.class.php +16 −8 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/KanbanCannotAccessException.php +23 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/KanbanFactory.class.php +31 −5 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/KanbanItemDao.class.php +48 −0 Go to diff View file
A plugins/agiledashboard/include/AgileDashboard/REST/v1/KanbanBacklogRepresentation.php +53 −0 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/KanbanRepresentation.php +51 −13 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/KanbanResource.php +82 −7 Go to diff View file
M plugins/agiledashboard/include/Planning/PlanningController.class.php +6 −2 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/autoload.php +5 −2 Go to diff View file
M plugins/agiledashboard/site-content/en_US/agiledashboard.tab +1 −0 Go to diff View file
M plugins/agiledashboard/site-content/fr_FR/agiledashboard.tab +1 −0 Go to diff View file
M tests/lib/rest/TestDataBuilder.php +14 −0 Go to diff View file
M tests/rest/_fixtures/tuleap_agiledashboard_kanban_template.xml +1 −1 Go to diff View file