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:
@@ -2342,6 +2342,19 @@ export default {
|
||||
loadTenantsFailed: 'Failed to load tenant list',
|
||||
loading: 'Loading...',
|
||||
loadMore: 'Load more',
|
||||
create: {
|
||||
action: 'Create new workspace',
|
||||
dialogTitle: 'Create new workspace',
|
||||
nameLabel: 'Workspace name',
|
||||
namePlaceholder: 'e.g. My new project',
|
||||
nameRequired: 'Please enter a workspace name',
|
||||
descriptionLabel: 'Description (optional)',
|
||||
descriptionPlaceholder: 'Briefly describe what this workspace is for',
|
||||
submit: 'Create',
|
||||
cancel: 'Cancel',
|
||||
success: 'Workspace created successfully',
|
||||
failed: 'Failed to create workspace',
|
||||
},
|
||||
details: {
|
||||
idLabel: 'Tenant ID',
|
||||
idDescription: 'Unique identifier of your tenant',
|
||||
|
||||
Reference in New Issue
Block a user