From 3186827004af5144a270caa3ca8d7cb5de2b66d4 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 7 Jan 2022 08:53:18 +0800 Subject: [PATCH] * Modify name. --- module/project/config.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/module/project/config.php b/module/project/config.php index 7c3034a388..6088cd1bd8 100644 --- a/module/project/config.php +++ b/module/project/config.php @@ -132,13 +132,13 @@ $config->project->maxCheckList = new stdclass(); $config->project->maxCheckList->scrum = array('bug', 'execution', 'build', 'doc', 'release', 'testtask', 'case', 'issue', 'risk', 'meeting'); $config->project->maxCheckList->waterfall = array('execution', 'design', 'doc', 'bug', 'case', 'build', 'release', 'testtask', 'review', 'build', 'researchplan', 'issue', 'risk', 'opportunity', 'auditplan', 'gapanalysis', 'meeting'); -$config->project->removePriv['project'] = array('index', 'browse', 'kanban', 'create', 'batchEdit', 'qa', 'updateOrder', 'createGuide', 'programTitle', 'export'); -$config->project->removePriv['story'] = array('report', 'linkStory', 'batchChangeBranch', 'batchChangeModule', 'batchToTask', 'processStoryChange', 'track', 'tasks', 'bugs', 'cases'); -$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('browse', 'view', 'catalog', 'index'); -$config->project->removePriv['repo'] = array('edit', 'delete', 'maintain', 'setRules'); -$config->project->removePriv['testreport'] = array('browse'); -$config->project->removePriv['auditplan'] = array('delete'); -if(!isset($config->maxVersion)) $config->project->removePriv['stakeholder'] = array('issue', 'viewIssue', 'userIssue'); +$config->project->excludedPriv['project'] = array('index', 'browse', 'kanban', 'create', 'batchEdit', 'qa', 'updateOrder', 'createGuide', 'programTitle', 'export'); +$config->project->excludedPriv['story'] = array('report', 'linkStory', 'batchChangeBranch', 'batchChangeModule', 'batchToTask', 'processStoryChange', 'track', 'tasks', 'bugs', 'cases'); +$config->project->excludedPriv['bug'] = array('browse', 'batchChangePlan', 'batchCreate', 'batchEdit', 'batchConfirm', 'batchResolve', 'batchClose', 'batchActivate', 'report', 'batchChangeModule', 'batchChangeBranch'); +$config->project->excludedPriv['testcase'] = array('browse', 'batchChangeModule', 'batchChangeBranch'); +$config->project->excludedPriv['testtask'] = array('browse', 'view', 'start', 'activate', 'block', 'close'); +$config->project->excludedPriv['doc'] = array('browse', 'view', 'catalog', 'index'); +$config->project->excludedPriv['repo'] = array('edit', 'delete', 'maintain', 'setRules'); +$config->project->excludedPriv['testreport'] = array('browse'); +$config->project->excludedPriv['auditplan'] = array('delete'); +if(!isset($config->maxVersion)) $config->project->excludedPriv['stakeholder'] = array('issue', 'viewIssue', 'userIssue');