stable

Clone or download

Read-only

Block Kanban REST routes

part of story #12160 - have a clean way to suspend a project Routes to test: - delete /kanban/{id} - get /kanban/{id} - patch /kanban/{id} - get /kanban/{id}/backlog - patch /kanban/{id}/backlog - get /kanban/{id}/archive - patch /kanban/{id}/archive - get /kanban/{id}/items - patch /kanban/{id}/items - post /kanban/{id}/columns - put /kanban/{id}/columns - get /kanban/{id}/cumulative_flow - put /kanban/{id}/tracker_reports - delete /kanban_columns/{id} - patch /kanban_columns/{id} - post /kanban_items - get /kanban_items/{id} How to test: - For siteadmin --> GET routes still works if the project is suspended --> Other routes throw 403 errors - For regular users --> 403 errors, 403 errors everywhere Change-Id: If5d0ecc59f3bd57d89e172e4460588b020ff3f93

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanColumnsResource.php +25 −4 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanItemsResource.php +13 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanResource.php +68 −1 Go to diff View file