diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index a9b92949..982228cf 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -2143,13 +2143,13 @@ export default { }, perm: { tab: 'Permissions', - title: 'Agent Page Type Permissions', - desc: 'Configure per-pageType read/create/update/delete access for an agent in this KB; writes can require approval. No rules = allow all; once any rule exists, uncovered types are fail-safe denied.', - agent: 'Agent', - selectAgent: 'Select an agent…', + title: 'Employee Page Type Permissions', + desc: 'Configure per-pageType read/create/update/delete access for an employee in this KB; writes can require approval. No rules = allow all; once any rule exists, uncovered types are fail-safe denied.', + agent: 'Employee', + selectAgent: 'Select an employee…', pageType: 'Page Type', policy: 'Write policy', - noRows: 'This agent has no permission rules (allow all).', + noRows: 'This employee has no permission rules (allow all).', pageTypeHint: 'page type, * for default', addRule: 'Add rule', deleteConfirm: 'Delete the permission rule for "{type}"?', diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index fde0e7d8..8e3bf4c5 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -2155,13 +2155,13 @@ export default { }, perm: { tab: '权限 & 审批', - title: 'Agent 页面类型权限', - desc: '为指定 Agent 配置在本知识库下按 pageType 的读/创建/更新/删除权限;写操作可设为需审批。无规则时默认放行,一旦存在规则则未覆盖的类型按失败安全(拒绝)处理。', - agent: 'Agent', - selectAgent: '选择一个 Agent…', + title: '员工页面类型权限', + desc: '为指定员工配置在本知识库下按 pageType 的读/创建/更新/删除权限;写操作可设为需审批。无规则时默认放行,一旦存在规则则未覆盖的类型按失败安全(拒绝)处理。', + agent: '员工', + selectAgent: '选择一位员工…', pageType: '页面类型', policy: '写策略', - noRows: '该 Agent 暂无权限规则(默认放行)。', + noRows: '该员工暂无权限规则(默认放行)。', pageTypeHint: '页面类型,* 表示默认', addRule: '新增规则', deleteConfirm: '删除 "{type}" 的权限规则?', diff --git a/mateclaw-ui/src/views/Wiki/components/WikiAdvancedPanel.vue b/mateclaw-ui/src/views/Wiki/components/WikiAdvancedPanel.vue index eb8f9c6a..da5281cf 100644 --- a/mateclaw-ui/src/views/Wiki/components/WikiAdvancedPanel.vue +++ b/mateclaw-ui/src/views/Wiki/components/WikiAdvancedPanel.vue @@ -79,10 +79,13 @@
- +