Merge branch dev/task-145544 of zentao/zentaopms (#9679)

This commit is contained in:
朱金勇
2025-06-19 16:07:41 +08:00
committed by Gitfox
3 changed files with 6 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
ALTER TABLE `zt_project` ADD `templateAcl` char(30) NOT NULL DEFAULT 'open' AFTER `whitelist`;
ALTER TABLE `zt_project` ADD `templateWhite` text NULL AFTER `templateAcl`;
+2
View File
@@ -1602,6 +1602,8 @@ CREATE TABLE IF NOT EXISTS `zt_project` (
`team` varchar(90) NOT NULL DEFAULT '',
`acl` char(30) NOT NULL DEFAULT 'open',
`whitelist` text NULL,
`templateAcl` char(30) NOT NULL DEFAULT 'open',
`templateWhite` text NULL,
`order` mediumint(8) unsigned NOT NULL DEFAULT '0',
`vision` varchar(10) NOT NULL DEFAULT 'rnd',
`stageBy` enum('project','product') NOT NULL DEFAULT 'product',
+2 -1
View File
@@ -1076,7 +1076,8 @@ $config->group->package->projectTemplate->subset = 'projectTemplate';
$config->group->package->projectTemplate->privs = array();
$config->group->package->projectTemplate->privs['project-template'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 5, 'depend' => array('project-index'));
$config->group->package->projectTemplate->privs['project-createTemplate'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 10, 'depend' => array('project-index', 'project-template'));
$config->group->package->projectTemplate->privs['project-deleteTemplate'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('project-index', 'project-template'));
$config->group->package->projectTemplate->privs['project-templatePriv'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 15, 'depend' => array('project-index', 'project-template'));
$config->group->package->projectTemplate->privs['project-deleteTemplate'] = array('edition' => 'max,ipd', 'vision' => 'rnd', 'order' => 20, 'depend' => array('project-index', 'project-template'));
$config->group->package->browseExecution = new stdclass();
$config->group->package->browseExecution->order = 5;