feat: 增加工作流和知识库三级权限
- 抽取统一资源访问骨架与部门可见范围判断 - 接入工作流和知识库的 READ/MANAGE 权限校验 - 增加可见范围配置与只读态前端交互
This commit is contained in:
@@ -14,6 +14,13 @@
|
||||
"englishName": "EnglishName",
|
||||
"status": "ShowInUserCenter",
|
||||
"categoryId": "Category",
|
||||
"visibilityScope": "Visibility Scope",
|
||||
"visibilityScopePrivate": "Personal",
|
||||
"visibilityScopePrivateDesc": "Only the creator can access it",
|
||||
"visibilityScopeDept": "Dept",
|
||||
"visibilityScopeDeptDesc": "Available to the dept and descendants",
|
||||
"visibilityScopePublic": "Public",
|
||||
"visibilityScopePublicDesc": "Available to internal users matched by category",
|
||||
"params": "Params",
|
||||
"steps": "Steps",
|
||||
"result": "Result",
|
||||
|
||||
@@ -10,6 +10,13 @@
|
||||
"collectionTypeDocument": "Document",
|
||||
"collectionTypeFaq": "FAQ",
|
||||
"description": "Description",
|
||||
"visibilityScope": "Visibility Scope",
|
||||
"visibilityScopePrivate": "Personal",
|
||||
"visibilityScopePrivateDesc": "Only the creator can access it",
|
||||
"visibilityScopeDept": "Dept",
|
||||
"visibilityScopeDeptDesc": "Available to the dept and descendants",
|
||||
"visibilityScopePublic": "Public",
|
||||
"visibilityScopePublicDesc": "Available to internal users matched by category",
|
||||
"slug": "Slug",
|
||||
"vectorStoreEnable": "VectorStoreEnable",
|
||||
"vectorStoreType": "VectorStoreType",
|
||||
@@ -46,12 +53,24 @@
|
||||
},
|
||||
"importDoc": {
|
||||
"fileUpload": "File upload",
|
||||
"parameterSettings": "ParameterSettings",
|
||||
"parameterSettings": "Parameter settings",
|
||||
"strategyAnalysis": "Strategy analysis",
|
||||
"segmentedPreview": "SegmentedPreview",
|
||||
"confirmImport": "ConfirmImport",
|
||||
"fileName": "File Name",
|
||||
"progressUpload": "Progress of file upload",
|
||||
"fileSize": "File size"
|
||||
"fileSize": "File size",
|
||||
"analysisTip": "The system analyzes multilingual structure first and recommends a splitting strategy. You can still adjust each file manually.",
|
||||
"confidence": "Confidence",
|
||||
"recommendReason": "Reasons",
|
||||
"candidateStrategies": "Candidates",
|
||||
"strategySelection": "Strategy",
|
||||
"previewTip": "The preview result is the final import basis. Confirm it before committing.",
|
||||
"previewEmpty": "No preview data",
|
||||
"warningCount": "Warnings",
|
||||
"chunkCount": "Chunks",
|
||||
"resultEmpty": "No import result",
|
||||
"importFailed": "Import failed"
|
||||
},
|
||||
"splitterDoc": {
|
||||
"fileType": "FileType",
|
||||
@@ -64,6 +83,12 @@
|
||||
"simpleTokenizeSplitter": "SimpleTokenizeSplitter",
|
||||
"regexDocumentSplitter": "RegexDocumentSplitter",
|
||||
"markdownHeaderSplitter": "MarkdownHeaderSplitter",
|
||||
"autoStrategy": "Auto recommendation",
|
||||
"markdownSection": "Markdown headings",
|
||||
"outlineSection": "Outline sections",
|
||||
"qaPair": "Q&A pairs",
|
||||
"paragraphLength": "Paragraph length",
|
||||
"customRegex": "Custom regex",
|
||||
"mdSplitterLevel": "MarkdownSplitterLevel",
|
||||
"uploadStatus": "UploadStatus",
|
||||
"pendingUpload": "PendingUpload",
|
||||
@@ -139,5 +164,6 @@
|
||||
"tencentCloud": "tencentCloud",
|
||||
"vectorEmbedModelTips": "After successful vector data, it is not allowed to modify the vector model",
|
||||
"dimensionOfVectorModelTips": "After successful vector data, it is not allowed to modify the dimensions of the vector model",
|
||||
"dimensionOfVectorModel": "Dimension of vector model"
|
||||
"dimensionOfVectorModel": "Dimension of vector model",
|
||||
"managePermissionHint": "Only the creator or super admin can modify this knowledge base"
|
||||
}
|
||||
|
||||
@@ -14,6 +14,13 @@
|
||||
"englishName": "英文名称",
|
||||
"status": "在用户中心显示",
|
||||
"categoryId": "分类",
|
||||
"visibilityScope": "可见范围",
|
||||
"visibilityScopePrivate": "个人",
|
||||
"visibilityScopePrivateDesc": "仅创建者可访问",
|
||||
"visibilityScopeDept": "部门",
|
||||
"visibilityScopeDeptDesc": "本部门及下级部门可访问",
|
||||
"visibilityScopePublic": "公开",
|
||||
"visibilityScopePublicDesc": "分类命中的内部用户可访问",
|
||||
"params": "执行参数",
|
||||
"steps": "执行步骤",
|
||||
"result": "执行结果",
|
||||
|
||||
@@ -10,6 +10,13 @@
|
||||
"collectionTypeDocument": "文档",
|
||||
"collectionTypeFaq": "FAQ",
|
||||
"description": "描述",
|
||||
"visibilityScope": "可见范围",
|
||||
"visibilityScopePrivate": "个人",
|
||||
"visibilityScopePrivateDesc": "仅创建者可访问",
|
||||
"visibilityScopeDept": "部门",
|
||||
"visibilityScopeDeptDesc": "本部门及下级部门可访问",
|
||||
"visibilityScopePublic": "公开",
|
||||
"visibilityScopePublicDesc": "分类命中的内部用户可访问",
|
||||
"slug": "URL 别名",
|
||||
"vectorStoreEnable": "是否启用向量数据库",
|
||||
"vectorStoreType": "向量数据库类型",
|
||||
@@ -47,11 +54,23 @@
|
||||
"importDoc": {
|
||||
"fileUpload": "文件上传",
|
||||
"parameterSettings": "参数设置",
|
||||
"strategyAnalysis": "策略分析",
|
||||
"segmentedPreview": "分段预览",
|
||||
"confirmImport": "确认导入",
|
||||
"fileName": "文件名称",
|
||||
"progressUpload": "文件上传进度",
|
||||
"fileSize": "文件大小"
|
||||
"fileSize": "文件大小",
|
||||
"analysisTip": "系统会先基于文档结构做中英文规则分析,再推荐拆分策略,你也可以逐个文件手动调整。",
|
||||
"confidence": "置信度",
|
||||
"recommendReason": "推荐理由",
|
||||
"candidateStrategies": "备选策略",
|
||||
"strategySelection": "拆分策略",
|
||||
"previewTip": "预览结果就是最终入库依据,确认无误后再执行导入。",
|
||||
"previewEmpty": "暂无可预览内容",
|
||||
"warningCount": "警告数",
|
||||
"chunkCount": "分块数",
|
||||
"resultEmpty": "暂无导入结果",
|
||||
"importFailed": "导入失败"
|
||||
},
|
||||
"splitterDoc": {
|
||||
"fileType": "文件类型",
|
||||
@@ -64,6 +83,12 @@
|
||||
"simpleTokenizeSplitter": "简单分词器",
|
||||
"regexDocumentSplitter": "正则文档分割器",
|
||||
"markdownHeaderSplitter": "Markdown标题层级拆分器",
|
||||
"autoStrategy": "自动推荐",
|
||||
"markdownSection": "Markdown 标题拆分",
|
||||
"outlineSection": "章节标题拆分",
|
||||
"qaPair": "问答对拆分",
|
||||
"paragraphLength": "自然段长度拆分",
|
||||
"customRegex": "自定义正则拆分",
|
||||
"mdSplitterLevel": "Markdown标题等级",
|
||||
"uploadStatus": "上传状态",
|
||||
"pendingUpload": "待上传",
|
||||
@@ -139,5 +164,6 @@
|
||||
"tencentCloud": "腾讯云",
|
||||
"vectorEmbedModelTips": "成功向量数据之后不允许修改向量模型",
|
||||
"dimensionOfVectorModelTips": "成功向量数据之后不允许修改向量模型维度",
|
||||
"dimensionOfVectorModel": "向量模型维度"
|
||||
"dimensionOfVectorModel": "向量模型维度",
|
||||
"managePermissionHint": "仅创建者或超级管理员可修改当前知识库"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user