feat(organization): add member limit feature
- Introduced a new member limit feature for organizations, allowing a maximum number of members to be set (default is 50; 0 means unlimited). - Updated API endpoints to handle member limit during organization creation and updates. - Implemented validation to prevent adding members when the limit is reached. - Enhanced UI components to display and manage member limits, including localization updates for English and Chinese. - Added migration files to support the new member limit column in the organizations table. This update improves organization management by allowing administrators to control membership size.
This commit is contained in:
@@ -2482,6 +2482,10 @@ export default {
|
||||
requireApprovalDesc: 'When enabled, new members need admin approval to join',
|
||||
searchable: 'Open for search',
|
||||
searchableDesc: 'When enabled, this space appears in the "Join Space" search list; others can search and request to join without an invite code',
|
||||
memberLimit: 'Member limit',
|
||||
memberLimitDesc: 'No new members can be added when the limit is reached; 0 means unlimited',
|
||||
memberLimitPlaceholder: '0 = unlimited',
|
||||
memberLimitHint: 'Current members: {count}',
|
||||
joinRequests: 'Join Requests',
|
||||
joinRequestsDesc: 'Review pending requests to join the space',
|
||||
noPendingRequests: 'No pending requests',
|
||||
|
||||
Reference in New Issue
Block a user