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:
@@ -2487,6 +2487,10 @@ export default {
|
||||
requireApprovalDesc: "开启后,新成员加入需要管理员审核",
|
||||
searchable: "开放可被搜索",
|
||||
searchableDesc: "开启后,空间将出现在「加入空间」的搜索列表中,他人可搜索并申请加入,无需邀请码",
|
||||
memberLimit: "成员人数上限",
|
||||
memberLimitDesc: "超过上限后无法再添加新成员;设为 0 表示不限制",
|
||||
memberLimitPlaceholder: "0 表示不限制",
|
||||
memberLimitHint: "当前成员数:{count}",
|
||||
joinRequests: "加入申请",
|
||||
joinRequestsDesc: "审核待加入空间的申请",
|
||||
noPendingRequests: "暂无待审核的申请",
|
||||
|
||||
Reference in New Issue
Block a user