stable

Clone or download

Read-only

Be able to deactivate taskboard (backend only)

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