mirror of
https://github.com/Tencent/WeKnora.git
synced 2026-09-19 10:28:49 +08:00
feat(organization): update default member limit to 200
- Changed the default maximum number of members per organization from 50 to 200 in both the documentation and the application service layer. - This update allows for greater flexibility in organization membership management, accommodating larger teams.
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@
|
||||
|
||||
### 2.3 成员人数上限
|
||||
|
||||
- 空间可设置**成员人数上限**(默认 50;设为 0 表示不限制)。
|
||||
- 空间可设置**成员人数上限**(默认 200;设为 0 表示不限制)。
|
||||
- 达到或超过上限时:
|
||||
- 邀请码加入、管理员添加成员、审批通过加入均会被拒绝,并提示「该空间成员已满」;
|
||||
- 已满时不允许提交新的加入申请。
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
const DefaultInviteCodeValidityDays = 7
|
||||
|
||||
// DefaultMemberLimit is the default max members per organization (0 = unlimited)
|
||||
const DefaultMemberLimit = 50
|
||||
const DefaultMemberLimit = 200
|
||||
|
||||
// ValidInviteCodeValidityDays are the allowed values for invite_code_validity_days
|
||||
var ValidInviteCodeValidityDays = map[int]bool{0: true, 1: true, 7: true, 30: true}
|
||||
|
||||
Reference in New Issue
Block a user