<?php
$config->group->package->browseArtifactrepo->privs['artifactrepo-view'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array('artifactrepo-browse'), 'recommend' => array());

$config->group->package->manageCode->privs['repo-createBranch'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 30, 'depend' => array('repo-browse', 'repo-browseBranch'), 'recommend' => array('repo-maintain'));
$config->group->package->manageCode->privs['repo-deleteBranch'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('repo-browse', 'repo-browseBranch'), 'recommend' => array('repo-maintain'));
$config->group->package->manageCode->privs['repo-createTag']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 40, 'depend' => array('repo-browse', 'repo-browseTag'), 'recommend' => array('repo-maintain'));
$config->group->package->manageCode->privs['repo-deleteTag']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 45, 'depend' => array('repo-browse', 'repo-browseTag'), 'recommend' => array('repo-maintain'));

$config->group->subset->repoSettings = new stdclass();
$config->group->subset->repoSettings->order = 2870;
$config->group->subset->repoSettings->nav   = 'devops';

$config->group->subset->systemManage = new stdclass();
$config->group->subset->systemManage->order = 2870;
$config->group->subset->systemManage->nav   = 'devops';

$config->group->package->setCommitRule = new stdclass();
$config->group->package->setCommitRule->order  = 2880;
$config->group->package->setCommitRule->subset = 'repoSettings';
$config->group->package->setCommitRule->privs = array();
$config->group->package->setCommitRule->privs['repo-setCMrule']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('repo-browse'), 'recommend' => array());
$config->group->package->setCommitRule->privs['repo-setPRrule']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('repo-browse','repo-setCMrule'), 'recommend' => array());
$config->group->package->setCommitRule->privs['repo-setSafeRule']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('repo-browse', 'repo-setCMrule'), 'recommend' => array());
$config->group->package->setCommitRule->privs['repo-setOwnerRule'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('repo-browse', 'repo-setCMrule'), 'recommend' => array());

$config->group->package->webHooks = new stdclass();
$config->group->package->webHooks->order  = 2890;
$config->group->package->webHooks->subset = 'repoSettings';
$config->group->package->webHooks->privs = array();
$config->group->package->webHooks->privs['repo-browseWebhooks'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('repo-browse'), 'recommend' => array('createWebhook', 'editWebhook', 'enableWebhook', 'logWebhook', 'deleteWebhook'));
$config->group->package->webHooks->privs['repo-createWebhook']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('repo-browseWebhooks'), 'recommend' => array('editWebhook', 'enableWebhook', 'logWebhook', 'deleteWebhook'));
$config->group->package->webHooks->privs['repo-editWebhook']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('repo-browseWebhooks'), 'recommend' => array('createWebhook', 'enableWebhook', 'logWebhook', 'deleteWebhook'));
$config->group->package->webHooks->privs['repo-enableWebhook']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('repo-browseWebhooks'), 'recommend' => array('createWebhook', 'editWebhook', 'logWebhook', 'deleteWebhook'));
$config->group->package->webHooks->privs['repo-logWebhook']     = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('repo-browseWebhooks'), 'recommend' => array('createWebhook', 'editWebhook', 'enableWebhook', 'deleteWebhook'));
$config->group->package->webHooks->privs['repo-deleteWebhook']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 30, 'depend' => array('repo-browseWebhooks'), 'recommend' => array('createWebhook', 'editWebhook', 'enableWebhook', 'logWebhook'));

$config->group->package->rules = new stdclass();
$config->group->package->rules->order  = 2900;
$config->group->package->rules->subset = 'repoSettings';
$config->group->package->rules->privs = array();
$config->group->package->rules->privs['repo-browseRule'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('repo-browse'), 'recommend' => array('createRule', 'editRule', 'enableRule', 'deleteRule'));
$config->group->package->rules->privs['repo-createRule'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('repo-browseRule'), 'recommend' => array('editRule', 'enableRule', 'deleteRule'));
$config->group->package->rules->privs['repo-editRule']   = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('repo-browseRule'), 'recommend' => array('createRule', 'enableRule', 'deleteRule'));
$config->group->package->rules->privs['repo-enableRule'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('repo-browseRule'), 'recommend' => array('createRule', 'editRule', 'deleteRule'));
$config->group->package->rules->privs['repo-deleteRule'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('repo-browseRule'), 'recommend' => array('createRule', 'editRule', 'enableRule'));

$config->group->subset->pullreq = new stdclass();
$config->group->subset->pullreq->order = 2665;
$config->group->subset->pullreq->nav   = 'devops';

$config->group->package->browsePullReq = new stdclass();
$config->group->package->browsePullReq->order  = 5;
$config->group->package->browsePullReq->subset = 'pullreq';
$config->group->package->browsePullReq->privs  = array();
$config->group->package->browsePullReq->privs['pullreq-browse'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('repo-maintain'), 'recommend' => array('pullreq-addReview', 'pullreq-approval', 'pullreq-close', 'pullreq-edit', 'pullreq-linkBug', 'pullreq-linkStory', 'pullreq-linkTask', 'pullreq-reopen', 'pullreq-unlink', 'pullreq-view'));
$config->group->package->browsePullReq->privs['pullreq-view']   = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('pullreq-browse'), 'recommend' => array());

$config->group->package->managePullReq = new stdclass();
$config->group->package->managePullReq->order  = 10;
$config->group->package->managePullReq->subset = 'pullreq';
$config->group->package->managePullReq->privs  = array();
$config->group->package->managePullReq->privs['pullreq-edit']      = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('pullreq-browse'), 'recommend' => array('pullreq-linkBug', 'pullreq-linkStory', 'pullreq-linkTask', 'pullreq-unlink'));
$config->group->package->managePullReq->privs['pullreq-accept']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('repo-maintain'), 'recommend' => array('pullreq-browse', 'pullreq-edit'));
$config->group->package->managePullReq->privs['pullreq-linkStory'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('pullreq-browse', 'pullreq-view'), 'recommend' => array('pullreq-approval', 'pullreq-close', 'pullreq-linkBug', 'pullreq-linkTask', 'pullreq-reopen', 'pullreq-unlink'));
$config->group->package->managePullReq->privs['pullreq-linkBug']   = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 30, 'depend' => array('pullreq-browse', 'pullreq-view'), 'recommend' => array('pullreq-linkStory', 'pullreq-linkTask', 'pullreq-unlink'));
$config->group->package->managePullReq->privs['pullreq-linkTask']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('pullreq-browse', 'pullreq-view'), 'recommend' => array('pullreq-linkBug', 'pullreq-linkStory', 'pullreq-unlink'));
$config->group->package->managePullReq->privs['pullreq-unlink']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 40, 'depend' => array('pullreq-browse', 'pullreq-view'), 'recommend' => array('pullreq-linkBug', 'pullreq-linkStory', 'pullreq-linkTask'));
$config->group->package->managePullReq->privs['pullreq-approval']  = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 45, 'depend' => array('pullreq-browse'), 'recommend' => array('pullreq-close', 'pullreq-reopen'));
$config->group->package->managePullReq->privs['pullreq-close']     = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 50, 'depend' => array('pullreq-browse'), 'recommend' => array('pullreq-approval', 'pullreq-reopen'));
$config->group->package->managePullReq->privs['pullreq-reopen']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 55, 'depend' => array('pullreq-browse'), 'recommend' => array('pullreq-approval', 'pullreq-close'));
$config->group->package->managePullReq->privs['pullreq-delete']    = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 4,  'depend' => array('pullreq-browse'), 'recommend' => array('pullreq-edit'));

$config->group->package->manageJob->privs['job-createPipeline'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('job-browse'), 'recommend' => array());
$config->group->package->manageJob->privs['job-arrange']        = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('job-browse'), 'recommend' => array());

// $config->group->package->cluster = new stdclass();
// $config->group->package->cluster->order  = 3;
// $config->group->package->cluster->subset = 'deployment';
// $config->group->package->cluster->privs  = array();
// $config->group->package->cluster->privs['cluster-browse'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 1, 'depend' => array('deploy-browse'), 'recommend' => array('cluster-create', 'cluster-edit', 'cluster-delete'));
// $config->group->package->cluster->privs['cluster-create'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 2, 'depend' => array('cluster-browse'), 'recommend' => array('cluster-edit', 'cluster-delete'));
// $config->group->package->cluster->privs['cluster-edit']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 3, 'depend' => array('cluster-browse'), 'recommend' => array('cluster-create', 'cluster-delete'));
// $config->group->package->cluster->privs['cluster-delete'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 6, 'depend' => array('cluster-browse'), 'recommend' => array('cluster-create', 'cluster-edit'));

if($config->inQuickon)
{
    $config->group->subset->scanOverview = new stdclass();
    $config->group->subset->scanOverview->order = 2640;
    $config->group->subset->scanOverview->nav   = 'devops';

    $config->group->package->browseScanOverview = new stdclass();
    $config->group->package->browseScanOverview->order  = 5;
    $config->group->package->browseScanOverview->subset = 'scanOverview';
    $config->group->package->browseScanOverview->privs  = array();
    $config->group->package->browseScanOverview->privs['codescan-overview'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-task'), 'recommend' => array());

    $config->group->subset->scanissue = new stdclass();
    $config->group->subset->scanissue->order = 2640;
    $config->group->subset->scanissue->nav   = 'devops';

    $config->group->package->browseScanIssue = new stdclass();
    $config->group->package->browseScanIssue->order  = 5;
    $config->group->package->browseScanIssue->subset = 'scanissue';
    $config->group->package->browseScanIssue->privs  = array();
    $config->group->package->browseScanIssue->privs['codescan-issue']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('repo-maintain'), 'recommend' => array());
    $config->group->package->browseScanIssue->privs['codescan-issueView'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-issue'), 'recommend' => array());

    $config->group->package->manageScanIssue = new stdclass();
    $config->group->package->manageScanIssue->order  = 10;
    $config->group->package->manageScanIssue->subset = 'scanissue';
    $config->group->package->manageScanIssue->privs  = array();
    $config->group->package->manageScanIssue->privs['codescan-ignoreIssue']  = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-issue'), 'recommend' => array('codescan-issueView', 'codescan-confirmIssue', 'codescan-activeIssue'));
    $config->group->package->manageScanIssue->privs['codescan-confirmIssue'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-issue'), 'recommend' => array('codescan-issueView', 'codescan-ignoreIssue', 'codescan-activeIssue'));
    $config->group->package->manageScanIssue->privs['codescan-activeIssue']  = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('codescan-issue'), 'recommend' => array('codescan-issueView', 'codescan-ignoreIssue', 'codescan-confirmIssue'));

    $config->group->subset->scantask = new stdclass();
    $config->group->subset->scantask->order = 2640;
    $config->group->subset->scantask->nav   = 'devops';

    $config->group->package->browseScanTask = new stdclass();
    $config->group->package->browseScanTask->order  = 5;
    $config->group->package->browseScanTask->subset = 'scantask';
    $config->group->package->browseScanTask->privs  = array();
    $config->group->package->browseScanTask->privs['codescan-task']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-overview'), 'recommend' => array());
    $config->group->package->browseScanTask->privs['codescan-resend']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10,  'depend' => array('codescan-task'), 'recommend' => array());
    $config->group->package->browseScanTask->privs['codescan-taskView'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('codescan-task'), 'recommend' => array());
    $config->group->package->browseScanTask->privs['codescan-taskLog']  = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('codescan-task'), 'recommend' => array());

    $config->group->subset->scanplan = new stdclass();
    $config->group->subset->scanplan->order = 2645;
    $config->group->subset->scanplan->nav   = 'devops';

    $config->group->package->browseScanPlan = new stdclass();
    $config->group->package->browseScanPlan->order  = 5;
    $config->group->package->browseScanPlan->subset = 'scanplan';
    $config->group->package->browseScanPlan->privs  = array();
    $config->group->package->browseScanPlan->privs['codescan-plan']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-overview'), 'recommend' => array());
    $config->group->package->browseScanPlan->privs['codescan-planView'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-plan'), 'recommend' => array());

    $config->group->package->manageScanPlan = new stdclass();
    $config->group->package->manageScanPlan->order  = 10;
    $config->group->package->manageScanPlan->subset = 'scanplan';
    $config->group->package->manageScanPlan->privs  = array();
    $config->group->package->manageScanPlan->privs['codescan-createPlan']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-plan'), 'recommend' => array('codescan-editPlan',   'codescan-deletePlan', 'codescan-task', 'codescan-trigger', 'codescan-exec'));
    $config->group->package->manageScanPlan->privs['codescan-editPlan']       = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createPlan', 'codescan-deletePlan', 'codescan-task', 'codescan-trigger', 'codescan-exec'));
    $config->group->package->manageScanPlan->privs['codescan-deletePlan']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createPlan', 'codescan-editPlan', 'codescan-task', 'codescan-trigger', 'codescan-exec'));
    $config->group->package->manageScanPlan->privs['codescan-exec']           = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createPlan', 'codescan-editPlan', 'codescan-deletePlan', 'codescan-task', 'codescan-trigger'));
    $config->group->package->manageScanPlan->privs['codescan-unlinkSolution'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 40, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createPlan', 'codescan-editPlan', 'codescan-deletePlan', 'codescan-task', 'codescan-trigger'));

    $config->group->package->manageScanTrigger = new stdclass();
    $config->group->package->manageScanTrigger->order  = 20;
    $config->group->package->manageScanTrigger->subset = 'scanplan';
    $config->group->package->manageScanTrigger->privs  = array();
    $config->group->package->manageScanTrigger->privs['codescan-createTrigger'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-editTrigger', 'codescan-deleteTrigger'));
    $config->group->package->manageScanTrigger->privs['codescan-editTrigger']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createTrigger', 'codescan-deleteTrigger'));
    $config->group->package->manageScanTrigger->privs['codescan-deleteTrigger'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('codescan-plan'), 'recommend' => array('codescan-createTrigger', 'codescan-editTrigger'));

    $config->group->subset->scansolution = new stdclass();
    $config->group->subset->scansolution->order = 2650;
    $config->group->subset->scansolution->nav   = 'devops';

    $config->group->package->browseScanSolution = new stdclass();
    $config->group->package->browseScanSolution->order  = 5;
    $config->group->package->browseScanSolution->subset = 'scansolution';
    $config->group->package->browseScanSolution->privs  = array();
    $config->group->package->browseScanSolution->privs['codescan-solution']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-plan'), 'recommend' => array());
    $config->group->package->browseScanSolution->privs['codescan-solutionview'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-solution'), 'recommend' => array());

    $config->group->package->manageScanSolution = new stdclass();
    $config->group->package->manageScanSolution->order  = 10;
    $config->group->package->manageScanSolution->subset = 'scansolution';
    $config->group->package->manageScanSolution->privs  = array();
    $config->group->package->manageScanSolution->privs['codescan-createsolution']      = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-solution'), 'recommend' => array('codescan-editsolution',   'codescan-deletesolution'));
    $config->group->package->manageScanSolution->privs['codescan-editsolution']        = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-solution'), 'recommend' => array('codescan-createsolution', 'codescan-deletesolution', 'codescan-changesolutionstate'));
    $config->group->package->manageScanSolution->privs['codescan-deletesolution']      = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('codescan-solution'), 'recommend' => array('codescan-createsolution', 'codescan-editsolution'));
    $config->group->package->manageScanSolution->privs['codescan-changesolutionstate'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('codescan-solution'), 'recommend' => array('codescan-createsolution', 'codescan-editsolution', 'codescan-deletesolution'));
    $config->group->package->manageScanSolution->privs['codescan-unlinkset']           = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('codescan-solution'), 'recommend' => array('codescan-linkset'));
    $config->group->package->manageScanSolution->privs['codescan-linkset']             = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('codescan-solution'), 'recommend' => array('codescan-unlinkset'));

    $config->group->subset->ruleset = new stdclass();
    $config->group->subset->ruleset->order = 2650;
    $config->group->subset->ruleset->nav   = 'devops';

    $config->group->package->browseRuleset = new stdclass();
    $config->group->package->browseRuleset->order  = 5;
    $config->group->package->browseRuleset->subset = 'ruleset';
    $config->group->package->browseRuleset->privs  = array();
    $config->group->package->browseRuleset->privs['codescan-ruleset']     = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-solution'),    'recommend' => array());
    $config->group->package->browseRuleset->privs['codescan-rulesetview'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-ruleset'), 'recommend' => array());

    $config->group->package->manageRuleset = new stdclass();
    $config->group->package->manageRuleset->order  = 10;
    $config->group->package->manageRuleset->subset = 'ruleset';
    $config->group->package->manageRuleset->privs  = array();
    $config->group->package->manageRuleset->privs['codescan-createruleset']      = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-editruleset',   'codescan-deleteruleset'));
    $config->group->package->manageRuleset->privs['codescan-editruleset']        = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-createruleset', 'codescan-deleteruleset', 'codescan-changerulesetstate'));
    $config->group->package->manageRuleset->privs['codescan-deleteruleset']      = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-createruleset', 'codescan-editruleset'));
    $config->group->package->manageRuleset->privs['codescan-changerulesetstate'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-createruleset', 'codescan-editruleset', 'codescan-deleteruleset'));
    $config->group->package->manageRuleset->privs['codescan-unlinkrule']         = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 25, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-batchunlinkrule', 'codescan-linkrule'));
    $config->group->package->manageRuleset->privs['codescan-batchunlinkrule']    = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 30, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-unlinkrule',      'codescan-linkrule'));
    $config->group->package->manageRuleset->privs['codescan-linkrule']           = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 35, 'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-batchunlinkrule', 'codescan-unlinkrule'));

    $config->group->subset->codeScan = new stdclass();
    $config->group->subset->codeScan->order = 2660;
    $config->group->subset->codeScan->nav   = 'devops';

    $config->group->package->browseCodeScan = new stdclass();
    $config->group->package->browseCodeScan->order  = 5;
    $config->group->package->browseCodeScan->subset = 'codeScan';
    $config->group->package->browseCodeScan->privs  = array();
    $config->group->package->browseCodeScan->privs['codescan-browse'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5,  'depend' => array('codescan-ruleset'), 'recommend' => array('codescan-view'));
    $config->group->package->browseCodeScan->privs['codescan-view']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-browse'),   'recommend' => array());

    $config->group->package->manageCodeScan = new stdclass();
    $config->group->package->manageCodeScan->order  = 5;
    $config->group->package->manageCodeScan->subset = 'codeScan';
    $config->group->package->manageCodeScan->privs  = array();
    $config->group->package->manageCodeScan->privs['codescan-changeState']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('codescan-browse'), 'recommend' => array('codescan-view'));

    $config->group->package->publishtemplate = new stdclass();
    $config->group->package->publishtemplate->order  = 25;
    $config->group->package->publishtemplate->subset = 'deployment';
    $config->group->package->publishtemplate->privs  = array();
    $config->group->package->publishtemplate->privs['publishtemplate-browse'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 1, 'depend' => array('publishtemplate-browse'), 'recommend' => array('publishtemplate-create', 'publishtemplate-edit', 'publishtemplate-delete'));
    $config->group->package->publishtemplate->privs['publishtemplate-create'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 2, 'depend' => array('publishtemplate-browse'), 'recommend' => array('publishtemplate-edit', 'publishtemplate-delete'));
    $config->group->package->publishtemplate->privs['publishtemplate-edit']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 3, 'depend' => array('publishtemplate-browse'), 'recommend' => array('publishtemplate-create', 'publishtemplate-delete'));
    $config->group->package->publishtemplate->privs['publishtemplate-delete'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 6, 'depend' => array('publishtemplate-browse'), 'recommend' => array('publishtemplate-create', 'publishtemplate-edit'));

    $config->group->package->mangeApplication->privs['space-monitorSetting'] = array('edition' => 'open,biz,max,ipd', 'vision' => 'rnd', 'order' => 6, 'depend' => array('space-browse'), 'recommend' => array());
}

$config->group->package->env = new stdclass();
$config->group->package->env->order  = 30;
$config->group->package->env->subset = 'deployment';
$config->group->package->env->privs  = array();
$config->group->package->env->privs['env-browse'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 1, 'depend' => array('deploy-browse'), 'recommend' => array('env-create', 'env-edit', 'env-delete'));
$config->group->package->env->privs['env-create'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 2, 'depend' => array('env-browse'), 'recommend' => array('env-edit', 'env-delete'));
$config->group->package->env->privs['env-edit']   = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 3, 'depend' => array('env-browse'), 'recommend' => array('env-create', 'env-delete'));
$config->group->package->env->privs['env-delete'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 6, 'depend' => array('env-browse'), 'recommend' => array('env-create', 'env-edit'));

$config->group->package->deploySetting = new stdclass();
$config->group->package->deploySetting->order  = 2380;
$config->group->package->deploySetting->subset = 'featureconfig';
$config->group->package->deploySetting->privs  = array();
$config->group->package->deploySetting->privs['deploy-setting'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array(), 'recommend' => array());

$config->group->package->deployPlan->privs['deploy-review'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('deploy-browse'), 'recommend' => array('deploy-recall', 'deploy-submit'));
$config->group->package->deployPlan->privs['deploy-recall'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('deploy-browse'), 'recommend' => array('deploy-submit', 'deploy-review'));
$config->group->package->deployPlan->privs['deploy-submit'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('deploy-browse'), 'recommend' => array('deploy-review', 'deploy-recall'));

$config->group->package->browseSystem = new stdclass();
$config->group->package->browseSystem->order  = 2380;
$config->group->package->browseSystem->subset = 'systemManage';
$config->group->package->browseSystem->privs  = array();
$config->group->package->browseSystem->privs['repo-browseSystem'] = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array(), 'recommend' => array('system-create', 'system-view'));
$config->group->package->browseSystem->privs['system-view']       = array('edition' => 'biz,max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('repo-browseSystem'), 'recommend' => array('system-create', 'system-edit', 'system-delete'));
