Merge branch 'zentaopms_239_task#72259' into 'zentaopms_239'

* Finish task #72259 and bug #28498.

See merge request easycorp/zentaopms!5763
This commit is contained in:
王怡栋
2022-10-17 08:44:38 +00:00
+1 -1
View File
@@ -70,7 +70,7 @@ $canCreateTask = common::hasPriv('task', 'create');
$canBatchCreateTask = common::hasPriv('task', 'batchCreate');
$canImportTask = common::hasPriv('execution', 'importTask');
$canCreateBug = ($productID and common::hasPriv('bug', 'create'));
$canBatchCreateBug = ($productID and common::hasPriv('bug', 'batchCreate'));
$canBatchCreateBug = ($productID and common::hasPriv('bug', 'batchCreate') && $execution->multiple);
$canImportBug = ($productID and common::hasPriv('execution', 'importBug'));
$canCreateStory = ($productID and common::hasPriv('story', 'create'));
$canBatchCreateStory = ($productID and common::hasPriv('story', 'batchCreate'));