fix(frontend): polish API key create dialog UX and align i18n

Map API key permissions to tenant roles in the UI, widen the create dialog,
and sync integrations.api locale strings across en-US, ko-KR, and ru-RU.
This commit is contained in:
wizardchen
2026-07-06 11:36:35 +08:00
committed by lyingbug
parent c65ffa3d9c
commit 3ace6e657f
5 changed files with 204 additions and 147 deletions
+32 -1
View File
@@ -5767,7 +5767,38 @@ export default {
baseUrl: "API Base URL",
baseUrlDesc: "REST API 경로와 함께 사용하세요.",
apiKey: "테넌트 API Key",
apiKeyDesc: "API Key는 계속 테넌트 단위입니다. 사용자 ID는 아래 모드로 전달합니다.",
apiKeyDesc: "통합용 API Key를 권한 및 지식베이스 범위와 함께 생성하세요.",
apiKeys: "API Keys",
apiKeysDesc: "통합마다 별도 Key를 만들고 작업 권한 및 접근 가능한 지식베이스 범위를 제한합니다.",
createApiKey: "API Key 생성",
createApiKeyDialogDesc: "접근 역할과 사용 가능한 지식베이스 범위를 설정하세요.",
noApiKeys: "API Key 없음",
apiKeyName: "이름",
apiKeyValue: "API Key",
apiKeyNamePlaceholder: "예: MCP 읽기 전용",
apiKeyNameRequired: "API Key 이름을 입력하세요",
toggleApiKeyVisible: "API Key 표시 또는 숨기기",
apiKeyAccessRole: "접근 역할",
apiKeyAccessRoleHint: "워크스페이스 멤버 역할과 동일하며, 요청 시 선택한 역할로 인증됩니다.",
accessRoleViewer: "뷰어",
accessRoleContributor: "편집",
accessRoleAdmin: "관리자",
accessRoleViewerDesc: "조회, 검색 및 대화만 가능하며 지식베이스 내용은 수정하지 않습니다.",
accessRoleContributorDesc: "선택한 범위 내에서 지식베이스 콘텐츠를 생성, 수정 또는 삭제합니다.",
accessRoleAdminDesc: "테넌트 수준 설정 및 통합을 관리합니다. API Key 생성, 교체 또는 삭제는 불가합니다.",
apiKeyKnowledgeScope: "지식베이스 범위",
apiKeyKnowledgeScopePlaceholder: "비워 두면 모든 지식베이스 접근 허용",
allKnowledgeBases: "모든 지식베이스",
createdAt: "생성일",
actions: "작업",
deleteApiKey: "삭제",
deleteApiKeyConfirm: "삭제하면 이 API Key는 즉시 무효화되며, 사용 중인 통합이 중단됩니다.",
deleteApiKeySuccess: "API Key가 삭제되었습니다",
deleteApiKeyFailed: "API Key 삭제 실패",
createApiKeyFailed: "API Key 생성 실패",
loadApiKeysFailed: "API Key 목록 불러오기 실패",
apiKeyCreated: "API Key가 생성되었습니다",
apiKeyCreatedDesc: "API Key가 생성되었습니다. 목록에서 확인하거나 복사할 수 있습니다.",
principalMode: "사용자 ID 모드",
principalModeDesc:
"API 요청이 최종 사용자를 어떻게 식별할지 설정합니다. 이 신원은 대화 Session과 MCP 도구 인증을 사용자별로 구분하며, API Key의 테넌트 관리자 권한은 바뀌지 않습니다.",