diff --git a/config/zentaopms.php b/config/zentaopms.php index 23b294e5d8..a1cf7dc67f 100644 --- a/config/zentaopms.php +++ b/config/zentaopms.php @@ -296,5 +296,5 @@ $config->newFeatures = array('introduction', 'tutorial', 'youngBlueTheme'); /* Program privs.*/ $config->programPriv = new stdclass(); -$config->programPriv->scrum = array('projectstory', 'projectrelease', 'project', 'build', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'meeting', 'stakeholder'); +$config->programPriv->scrum = array('projectstory', 'projectrelease', 'project', 'build', 'bug', 'testcase', 'testreport', 'doc', 'repo', 'meeting', 'stakeholder', 'testtask'); $config->programPriv->waterfall = array_merge($config->programPriv->scrum, array('workestimation', 'durationestimation', 'budget', 'programplan', 'review', 'reviewissue', 'weekly', 'cm', 'milestone', 'design', 'issue', 'risk', 'opportunity', 'measrecord', 'auditplan', 'trainplan', 'gapanalysis', 'pssp', 'researchplan', 'researchreport')); diff --git a/module/block/view/scrumoverviewblock.html.php b/module/block/view/scrumoverviewblock.html.php index 0785abdc33..9d04315843 100644 --- a/module/block/view/scrumoverviewblock.html.php +++ b/module/block/view/scrumoverviewblock.html.php @@ -31,7 +31,7 @@ block->totalStory . ':';?> allStories;?> block->totalPeople . ':';?> - teamCount ? html::a($this->createLink('project', 'manageMembers', 'projectID=' . $projectID), $totalData[$projectID]->teamCount) : 0;?> + teamCount ? html::a($this->createLink('project', 'team', 'projectID=' . $projectID), $totalData[$projectID]->teamCount) : 0;?> block->estimatedHours . ':';?> estimate . $lang->execution->workHour;?> block->totalBug. ':';?> diff --git a/module/project/config.php b/module/project/config.php index 138dee274a..f86012076b 100644 --- a/module/project/config.php +++ b/module/project/config.php @@ -128,6 +128,7 @@ $config->project->datatable->fieldList['actions']['pri'] = '1'; $config->project->removePriv['project'] = array('index', 'browse', 'kanban', 'create', 'batchEdit', 'qa', 'updateOrder', 'createGuide', 'programTitle', 'export'); $config->project->removePriv['bug'] = array('browse', 'batchChangePlan', 'batchCreate', 'batchEdit', 'batchConfirm', 'batchResolve', 'batchClose', 'batchActivate', 'report', 'batchChangeModule', 'batchChangeBranch'); $config->project->removePriv['testcase'] = array('browse', 'batchChangeModule', 'batchChangeBranch'); +$config->project->removePriv['testtask'] = array('browse', 'view', 'start', 'activate', 'block', 'close'); $config->project->removePriv['doc'] = array('catalog', 'index'); $config->project->removePriv['repo'] = array('edit', 'delete', 'maintain', 'setRules'); $config->project->removePriv['testreport'] = array('browse');