mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-18 07:43:47 +00:00
Document DEFAULT_TEAM_VISIBILITY (#652)
Documents https://github.com/go-gitea/gitea/pull/40151 for main, which adds `[service] DEFAULT_TEAM_VISIBILITY` to set the visibility of new teams in the web form and in the create-team API when none is given. WIP until that PR merges. _Written by Claude (Opus 5.5)._ --------- Co-authored-by: Lunny Xiao <[email protected]> Reviewed-on: https://gitea.com/gitea/docs/pulls/652 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: silverwind <[email protected]>
This commit is contained in:
1 parent
e91adade9a
commit
5df4373bfe
3 files changed
+3
No files matched your search
@@ -774,6 +774,7 @@ And the following unique queues:
|
||||
- `ALLOWED_USER_VISIBILITY_MODES`: **public,limited,private**: Set which visibility modes a user can have
|
||||
- `DEFAULT_ORG_VISIBILITY`: **public**: Set default visibility mode for organisations, either "public", "limited" or "private".
|
||||
- `DEFAULT_ORG_MEMBER_VISIBLE`: **false** True will make the membership of the users visible when added to the organisation.
|
||||
- `DEFAULT_TEAM_VISIBILITY`: **private**: Sets the default visibility for newly created teams within an organization, either "public", "limited" or "private".
|
||||
- `ALLOW_ONLY_INTERNAL_REGISTRATION`: **false** Set to true to force registration only via Gitea.
|
||||
- `ALLOW_ONLY_EXTERNAL_REGISTRATION`: **false** Set to true to force registration only using third-party services.
|
||||
- `NO_REPLY_ADDRESS`: **_empty_**: Value for the domain part of the user's email address in the git log if user has set KeepEmailPrivate to true. The user's email will be replaced with a concatenation of the user name in lower case, "@" and NO_REPLY_ADDRESS. Default value is "noreply." + the domain part of ROOT_URL
|
||||
|
||||
@@ -641,6 +641,7 @@ Gitea 创建以下非唯一队列:
|
||||
- `ALLOWED_USER_VISIBILITY_MODES`: **public,limited,private**: 设置用户可以具有的可见性模式
|
||||
- `DEFAULT_ORG_VISIBILITY`: **public**: 为组织设置默认的可见性模式,可以是"public"、"limited"或"private"。
|
||||
- `DEFAULT_ORG_MEMBER_VISIBLE`: **false**: 如果添加到组织时将用户的成员身份可见,设置为 True。
|
||||
- `DEFAULT_TEAM_VISIBILITY`: **private**: 为组织中新创建的团队设置默认的可见性,可以是"public"、"limited"或"private"。
|
||||
- `ALLOW_ONLY_INTERNAL_REGISTRATION`: **false**: 设置为 True 以强制仅通过 Gitea 进行注册。
|
||||
- `ALLOW_ONLY_EXTERNAL_REGISTRATION`: **false**: 设置为 True 以强制仅使用第三方服务进行注册。
|
||||
- `NO_REPLY_ADDRESS`: **noreply.DOMAIN**: 如果用户将 KeepEmailPrivate 设置为 True,则在 Git 日志中的用户电子邮件地址的域部分的值。DOMAIN 解析为 server.DOMAIN 中的值。
|
||||
|
||||
@@ -646,6 +646,7 @@ Gitea 建立以下非唯一隊列:
|
||||
- `ALLOWED_USER_VISIBILITY_MODES`: **public,limited,private**: 設定使用者可以具有的可見性模式
|
||||
- `DEFAULT_ORG_VISIBILITY`: **public**: 為組織設定預設的可見性模式,可以是"public"、"limited"或"private"。
|
||||
- `DEFAULT_ORG_MEMBER_VISIBLE`: **false**: 如果添加到組織時將使用者的成員身份可見,設定為 True。
|
||||
- `DEFAULT_TEAM_VISIBILITY`: **private**: 為組織中新建立的團隊設定預設的可見性,可以是"public"、"limited"或"private"。
|
||||
- `ALLOW_ONLY_INTERNAL_REGISTRATION`: **false**: 設定為 True 以強制僅通過 Gitea 進行註冊。
|
||||
- `ALLOW_ONLY_EXTERNAL_REGISTRATION`: **false**: 設定為 True 以強制僅使用第三方服務進行註冊。
|
||||
- `NO_REPLY_ADDRESS`: **noreply.DOMAIN**: 如果使用者將 KeepEmailPrivate 設定為 True,則在 Git 日誌中的使用者電子電子郵件地址的域部分的值。DOMAIN 解析為 server.DOMAIN 中的值。
|
||||
|
||||
Reference in new issue
Block a user