aboutsummaryrefslogtreecommitdiffstats
path: root/custom
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-12-14 09:39:05 +0800
committerGitHub <noreply@github.com>2024-12-14 09:39:05 +0800
commita66c16dc1bca44d480317c6319144d33949bc724 (patch)
treef47007cb680100dfe821d2ad7c493d8ecd2cc34c /custom
parent5bc030efa2cf88ce7f1ec8d8b33c60a7e9408332 (diff)
downloadgitea-a66c16dc1bca44d480317c6319144d33949bc724.tar.gz
gitea-a66c16dc1bca44d480317c6319144d33949bc724.zip
Allow to fork repository into the same owner (#32819)
This feature is experimental, not fully tested, and may be changed in the future. It is only designed for users who really need it: set `[repository].ALLOW_FORK_INTO_SAME_OWNER=true` in your app.ini Doc: https://gitea.com/gitea/docs/pulls/122 ![image](https://github.com/user-attachments/assets/38d08c23-9cfc-49d8-9321-ff81edf65395)
Diffstat (limited to 'custom')
-rw-r--r--custom/conf/app.example.ini6
1 files changed, 5 insertions, 1 deletions
diff --git a/custom/conf/app.example.ini b/custom/conf/app.example.ini
index 5c23f70d7c..6377ebf9d2 100644
--- a/custom/conf/app.example.ini
+++ b/custom/conf/app.example.ini
@@ -1040,9 +1040,13 @@ LEVEL = Info
;; Don't allow download source archive files from UI
;DISABLE_DOWNLOAD_SOURCE_ARCHIVES = false
-;; Allow fork repositories without maximum number limit
+;; Allow to fork repositories without maximum number limit
;ALLOW_FORK_WITHOUT_MAXIMUM_LIMIT = true
+;; Allow to fork repositories into the same owner (user or organization)
+;; This feature is experimental, not fully tested, and may be changed in the future
+;ALLOW_FORK_INTO_SAME_OWNER = false
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;[repository.editor]