stable

Clone or download

Read-only

refactor: move PermissionsManager to kanban

Took the opportunity to add cover with unit tests KanbanActionsChecker::checkUserCanAdministrate() No functional changes Part of request #32645: Extract kanban from agiledashboard Change-Id: Ic83f042d96755fdf7cd156907c6422cf0c0237cc

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboardRouter.class.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboardRouterBuilder.php +2 −1 Go to diff View file
M plugins/agiledashboard/include/agiledashboardPlugin.php +3 −2 Go to diff View file
M plugins/kanban/include/Kanban/KanbanActionsChecker.php +6 −7 Go to diff View file
M plugins/kanban/include/Kanban/KanbanPresenter.php +1 −2 Go to diff View file
R plugins/agiledashboard/include/AgileDashboard/PermissionsManager.php Go to diff View file
M plugins/kanban/include/Kanban/REST/v1/KanbanColumnsResource.php +2 −2 Go to diff View file
M plugins/kanban/include/Kanban/REST/v1/KanbanResource.php +4 −4 Go to diff View file
M plugins/kanban/include/Kanban/ShowKanbanController.php +2 −3 Go to diff View file
M plugins/kanban/include/Kanban/Widget/KanbanWidget.php +3 −3 Go to diff View file
M plugins/kanban/include/Kanban/Widget/MyKanban.php +2 −2 Go to diff View file
M plugins/kanban/include/Kanban/Widget/ProjectKanban.php +2 −2 Go to diff View file
M plugins/kanban/tests/unit/KanbanActionsCheckerTest.php +192 −132 Go to diff View file