From c465283a1a61865a5f4e03cece7ffaae888c2596 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 26 Dec 2023 17:09:44 +0800 Subject: [PATCH] * Fix bug #42356. --- module/execution/ui/task.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/execution/ui/task.html.php b/module/execution/ui/task.html.php index a195f0e653..9d4412679a 100644 --- a/module/execution/ui/task.html.php +++ b/module/execution/ui/task.html.php @@ -23,8 +23,8 @@ featureBar /* zin: Define the toolbar on main menu. */ $canCreate = hasPriv('task', 'create'); $canBatchCreate = hasPriv('task', 'batchCreate'); -$canImportTask = hasPriv('task', 'importTask'); -$canImportBug = hasPriv('task', 'importBug'); +$canImportTask = hasPriv('execution', 'importTask'); +$canImportBug = hasPriv('execution', 'importBug'); $this->loadModel('task'); $importItems = array();