feat(tenant): implement self-service tenant creation functionality

Added a new API endpoint for creating tenants, allowing any logged-in user to create their own workspace. The backend automatically assigns the creator as the Owner of the new tenant. A new CreateTenantDialog component was introduced in the frontend, enabling users to input the workspace name and an optional description. Internationalization files were updated to include relevant messages for this feature across multiple languages.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-16 04:42:21 +08:00
committed by lyingbug
parent 79d397297d
commit 29dc99ae79
10 changed files with 466 additions and 29 deletions
+26
View File
@@ -1599,6 +1599,32 @@ export default {
loadTenantsFailed: "테넌트 목록 로드 실패",
loading: "로딩 중...",
loadMore: "더 보기",
create: {
action: "새 워크스페이스 만들기",
dialogTitle: "새 워크스페이스 만들기",
nameLabel: "워크스페이스 이름",
namePlaceholder: "예: 새 프로젝트",
nameRequired: "워크스페이스 이름을 입력하세요",
descriptionLabel: "설명(선택)",
descriptionPlaceholder: "이 워크스페이스의 용도를 간단히 설명하세요",
submit: "만들기",
cancel: "취소",
success: "워크스페이스가 생성되었습니다",
failed: "워크스페이스 생성 실패",
},
create: {
action: "새 워크스페이스 만들기",
dialogTitle: "새 워크스페이스 만들기",
nameLabel: "워크스페이스 이름",
namePlaceholder: "예: 새 프로젝트",
nameRequired: "워크스페이스 이름을 입력하세요",
descriptionLabel: "설명(선택)",
descriptionPlaceholder: "이 워크스페이스의 용도를 간단히 설명하세요",
submit: "만들기",
cancel: "취소",
success: "워크스페이스가 생성되었습니다",
failed: "워크스페이스 생성 실패",
},
details: {
idLabel: "테넌트 ID",
idDescription: "소속 테넌트의 고유 식별자",