* [bug#48887, done, 0.6h] Do not display batch creation and scene building buttons under all products within a project.
This commit is contained in:
@@ -42,8 +42,8 @@ $canImport = hasPriv('testcase', 'import');
|
||||
$canImportFromLib = hasPriv('testcase', 'importFromLib');
|
||||
$canImportXmind = hasPriv('testcase', 'importXmind');
|
||||
$canCreateCase = hasPriv('testcase', 'create');
|
||||
$canBatchCreateCase = $this->app->tab == 'qa' && hasPriv('testcase', 'batchCreate');
|
||||
$canCreateScene = $this->app->tab == 'qa' && hasPriv('testcase', 'createScene');
|
||||
$canBatchCreateCase = $productID && hasPriv('testcase', 'batchCreate');
|
||||
$canCreateScene = $productID && hasPriv('testcase', 'createScene');
|
||||
$canImportUnitResult = hasPriv('testtask', 'importUnitResult');
|
||||
$canCreate = $canCreateCase || $canBatchCreateCase || $canCreateScene;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user