feat(organization): transition membership model to tenant-level and enhance invite functionality

Updated the organization membership model to operate at the tenant level, aligning with Plan 3. This change introduces new interfaces and modifies existing ones to accommodate tenant-centric operations, including the `InviteMemberRequest` and `TenantInviteCandidate`. The search functionality for inviting members has been updated to reflect this shift, allowing for tenant-based searches instead of user-based. Additionally, internationalization files have been updated to ensure consistent messaging across languages regarding tenant membership and roles.

Refs: #1303
This commit is contained in:
wizardchen
2026-05-16 03:11:11 +08:00
committed by lyingbug
parent 9c88af3370
commit dc8d033b4d
10 changed files with 640 additions and 383 deletions
+5 -1
View File
@@ -3398,7 +3398,7 @@ export default {
editTitle: 'Space Settings',
detailTitle: 'Space Details',
myRoleDesc: 'Your role in this space determines your permissions',
membersDesc: 'View and manage space members, adjust member roles',
membersDesc: 'View and manage space members and their roles. Each member represents a tenant — all users in the same tenant share access to this space.',
sharedDesc: 'View all knowledge bases shared to this space',
noSharedKB: 'No shared knowledge bases yet',
noSharedKBTip: 'Knowledge base owners can share their knowledge bases to this space in KB settings',
@@ -3501,9 +3501,13 @@ export default {
button: 'Add Member',
dialogTitle: 'Add Member',
tip: 'Added users will immediately become space members and can access shared knowledge bases.',
tipTenant: 'Membership is at the tenant level: once a tenant joins, all of its users share access to this space. Results below are deduplicated by tenant.',
searchUser: 'Select User',
searchTenant: 'Select Tenant',
searchPlaceholder: 'Search by username or email...',
searchTenantPlaceholder: 'Search by tenant name, username or email...',
searchHint: 'Type at least 2 characters to search',
searchTenantHint: 'Type at least 2 characters; results are deduplicated by tenant and exclude tenants already in this space',
selectRole: 'Assign Role',
confirmBtn: 'Add',
success: 'Member added successfully',