stable
Clone or download
Run forgeupgrade. A new table plugin_taskboard_usage is created. Go to a project ยป a.d ยป milestone. => you can see cardwall and taskboard tabs. You can access both. => This is the default that will be used for existing instances. Now insert into plugin_taskboard_usage values (<id>, "cardwall"). Refresh the milestone page. => you see only cardwall tab. You cannot access taskboard (403). => This will be used for projects that do not want taskboard at all. Now replace into plugin_taskboard_usage values(<id>, "taskboard"). Refresh the milestone page. => you see taskboard tab. You can access taskboard. => removal of cardwall in this situation will be done later. => This will be used for projects that do not want cardwall at all, and will be the default for new install. Part of story #14373: Activate only Taskboard, only Cardwall or both Change-Id: Ic0345a3c30f90b35566daf5a2327d1f558148157
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/taskboard/db/install.sql | +6 | โ0 | Go to diff View file |
A | plugins/taskboard/db/mysql/updates/2020/202001131606_create_taskboard_usage_table.php | +49 | โ0 | Go to diff View file |
A | plugins/taskboard/db/uninstall.sql | +1 | โ0 | Go to diff View file |
M | plugins/taskboard/include/AgileDashboard/MilestoneIsAllowedChecker.php | +19 | โ3 | Go to diff View file |
A | plugins/taskboard/include/AgileDashboard/TaskboardUsageDao.php | +38 | โ0 | Go to diff View file |
M | plugins/taskboard/include/REST/v1/TaskboardCardResource.php | +2 | โ0 | Go to diff View file |
M | plugins/taskboard/include/taskboardPlugin.php | +2 | โ0 | Go to diff View file |
M | plugins/taskboard/phpunit/AgileDashboard/MilestoneIsAllowedCheckerTest.php | +83 | โ2 | Go to diff View file |