* add the missing privilege.
This commit is contained in:
+10
-3
@@ -50,7 +50,8 @@ VALUES
|
||||
(2131, 'ai', 'prompts', 654, ',open,biz,max,', ',rnd,', '1', 75),
|
||||
(2132, 'ai', 'promptView', 654, ',open,biz,max,', ',rnd,', '1', 80),
|
||||
(2133, 'ai', 'promptExecute', 652, ',open,biz,max,', ',rnd,', '1', 85),
|
||||
(2134, 'ai', 'roleTemplates', 655, ',biz,max,', ',rnd,', '1', 90);
|
||||
(2134, 'ai', 'roleTemplates', 655, ',biz,max,', ',rnd,', '1', 90),
|
||||
(2135, 'ai', 'promptExecutionReset', 655, ',biz,max,', ',rnd,', '1', 95);
|
||||
|
||||
REPLACE INTO
|
||||
`zt_privmanager` (`id`, `parent`, `code`, `type`, `edition`, `vision`, `order`)
|
||||
@@ -119,6 +120,7 @@ VALUES
|
||||
(2132, 'priv', 'zh-cn', 'ai-promptView', '', ''),
|
||||
(2133, 'priv', 'zh-cn', 'ai-promptExecute', '', ''),
|
||||
(2134, 'priv', 'zh-cn', 'ai-roleTemplates', '', ''),
|
||||
(2135, 'priv', 'zh-cn', 'ai-promptExecutionReset', '', ''),
|
||||
(2117, 'priv', 'zh-tw', 'ai-modelBrowse', '', ''),
|
||||
(2118, 'priv', 'zh-tw', 'ai-modelEdit', '', ''),
|
||||
(2119, 'priv', 'zh-tw', 'ai-modelTestConnection', '', ''),
|
||||
@@ -137,6 +139,7 @@ VALUES
|
||||
(2132, 'priv', 'zh-tw', 'ai-promptView', '', ''),
|
||||
(2133, 'priv', 'zh-tw', 'ai-promptExecute', '', ''),
|
||||
(2134, 'priv', 'zh-tw', 'ai-roleTemplates', '', ''),
|
||||
(2135, 'priv', 'zh-tw', 'ai-promptExecutionReset', '', ''),
|
||||
(2117, 'priv', 'en', 'ai-modelBrowse', '', ''),
|
||||
(2118, 'priv', 'en', 'ai-modelEdit', '', ''),
|
||||
(2119, 'priv', 'en', 'ai-modelTestConnection', '', ''),
|
||||
@@ -155,6 +158,7 @@ VALUES
|
||||
(2132, 'priv', 'en', 'ai-promptView', '', ''),
|
||||
(2133, 'priv', 'en', 'ai-promptExecute', '', ''),
|
||||
(2134, 'priv', 'en', 'ai-roleTemplates', '', ''),
|
||||
(2135, 'priv', 'en', 'ai-promptExecutionReset', '', ''),
|
||||
(2117, 'priv', 'de', 'ai-modelBrowse', '', ''),
|
||||
(2118, 'priv', 'de', 'ai-modelEdit', '', ''),
|
||||
(2119, 'priv', 'de', 'ai-modelTestConnection', '', ''),
|
||||
@@ -173,6 +177,7 @@ VALUES
|
||||
(2132, 'priv', 'de', 'ai-promptView', '', ''),
|
||||
(2133, 'priv', 'de', 'ai-promptExecute', '', ''),
|
||||
(2134, 'priv', 'de', 'ai-roleTemplates', '', ''),
|
||||
(2135, 'priv', 'de', 'ai-promptExecutionReset', '', ''),
|
||||
(2117, 'priv', 'fr', 'ai-modelBrowse', '', ''),
|
||||
(2118, 'priv', 'fr', 'ai-modelEdit', '', ''),
|
||||
(2119, 'priv', 'fr', 'ai-modelTestConnection', '', ''),
|
||||
@@ -190,7 +195,8 @@ VALUES
|
||||
(2131, 'priv', 'fr', 'ai-promptBrowse', '', ''),
|
||||
(2132, 'priv', 'fr', 'ai-promptView', '', ''),
|
||||
(2133, 'priv', 'fr', 'ai-promptExecute', '', ''),
|
||||
(2134, 'priv', 'fr', 'ai-roleTemplates', '', '');
|
||||
(2134, 'priv', 'fr', 'ai-roleTemplates', '', ''),
|
||||
(2135, 'priv', 'zh-cn', 'ai-promptExecutionReset', '', '');
|
||||
|
||||
REPLACE INTO
|
||||
`zt_privrelation` (`priv`, `type`, `relationPriv`)
|
||||
@@ -219,7 +225,8 @@ VALUES
|
||||
('ai-promptSetTargetForm', 'depend', 'ai-promptAssignRole'), ('ai-promptSetTargetForm', 'depend', 'ai-promptSelectDataSource'), ('ai-promptSetTargetForm', 'depend', 'ai-promptSetPurpose'), ('ai-promptSetTargetForm', 'depend', 'ai-promptFinalize'), ('ai-promptSetTargetForm', 'depend', 'ai-promptAudit'), ('ai-promptSetTargetForm', 'depend', 'ai-promptExecute'),
|
||||
('ai-promptFinalize', 'depend', 'ai-promptAssignRole'), ('ai-promptFinalize', 'depend', 'ai-promptSelectDataSource'), ('ai-promptFinalize', 'depend', 'ai-promptSetPurpose'), ('ai-promptFinalize', 'depend', 'ai-promptSetTargetForm'), ('ai-promptFinalize', 'depend', 'ai-promptAudit'), ('ai-promptFinalize', 'depend', 'ai-promptExecute'),
|
||||
('ai-promptAudit', 'depend', 'ai-promptAssignRole'), ('ai-promptAudit', 'depend', 'ai-promptSelectDataSource'), ('ai-promptAudit', 'depend', 'ai-promptSetPurpose'), ('ai-promptAudit', 'depend', 'ai-promptSetTargetForm'), ('ai-promptAudit', 'depend', 'ai-promptFinalize'), ('ai-promptAudit', 'depend', 'ai-promptExecute'),
|
||||
('ai-roleTemplates', 'depend', 'ai-promptAssignRole'), ('ai-promptAssignRole', 'depend', 'ai-roleTemplates');
|
||||
('ai-roleTemplates', 'depend', 'ai-promptAssignRole'), ('ai-promptAssignRole', 'depend', 'ai-roleTemplates'),
|
||||
('ai-promptExecutionReset', 'depend', 'ai-promptAudit'), ('ai-promptAudit', 'depend', 'ai-promptExecutionReset');
|
||||
|
||||
INSERT INTO `zt_promptrole` (`role`, `characterization`) VALUES ('请你扮演一名资深的产品经理。', '负责产品战略、设计、开发、数据分析、用户体验、团队管理、沟通协调等方面,需要具备多种技能和能力,以实现产品目标和公司战略。');
|
||||
INSERT INTO `zt_promptrole` (`role`, `characterization`) VALUES ('你是一名经验丰富的开发工程师。', '精通多种编程语言和框架、熟悉前后端技术和架构、擅长性能优化和安全防护、熟悉云计算和容器化技术、能够协调多人协作和项目管理。');
|
||||
|
||||
+4
-4
File diff suppressed because one or more lines are too long
@@ -47,6 +47,7 @@ $lang->ai->promptUnpublish = 'Unpublish Prompt';
|
||||
$lang->ai->promptBrowse = 'Browse Prompts';
|
||||
$lang->ai->promptView = 'View Prompt';
|
||||
$lang->ai->promptExecute = 'Execute Prompt';
|
||||
$lang->ai->promptExecutionReset = 'Reset Execute Prompt';
|
||||
$lang->ai->roleTemplates = 'Manage Role Templates';
|
||||
|
||||
$lang->ai->nextStep = 'Next';
|
||||
|
||||
@@ -47,6 +47,7 @@ $lang->ai->promptUnpublish = 'Unpublish Prompt';
|
||||
$lang->ai->promptBrowse = 'Browse Prompts';
|
||||
$lang->ai->promptView = 'View Prompt';
|
||||
$lang->ai->promptExecute = 'Execute Prompt';
|
||||
$lang->ai->promptExecutionReset = 'Reset Execute Prompt';
|
||||
$lang->ai->roleTemplates = 'Manage Role Templates';
|
||||
|
||||
$lang->ai->nextStep = 'Next';
|
||||
|
||||
@@ -47,6 +47,7 @@ $lang->ai->promptUnpublish = 'Unpublish Prompt';
|
||||
$lang->ai->promptBrowse = 'Browse Prompts';
|
||||
$lang->ai->promptView = 'View Prompt';
|
||||
$lang->ai->promptExecute = 'Execute Prompt';
|
||||
$lang->ai->promptExecutionReset = 'Reset Execute Prompt';
|
||||
$lang->ai->roleTemplates = 'Manage Role Templates';
|
||||
|
||||
$lang->ai->nextStep = 'Next';
|
||||
|
||||
@@ -47,6 +47,7 @@ $lang->ai->promptUnpublish = '取消发布提词';
|
||||
$lang->ai->promptBrowse = '浏览提词列表';
|
||||
$lang->ai->promptView = '查看提词详情';
|
||||
$lang->ai->promptExecute = '执行提词';
|
||||
$lang->ai->promptExecutionReset = '重置调试';
|
||||
$lang->ai->roleTemplates = '管理角色模板';
|
||||
|
||||
$lang->ai->nextStep = '下一步';
|
||||
|
||||
Reference in New Issue
Block a user