diff options
author | Denys Konovalov <kontakt@denyskon.de> | 2024-03-04 03:56:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 02:56:52 +0000 |
commit | fe6792dff3d167e87b0c4476f7e7a7ce15742855 (patch) | |
tree | 9511f5bdbeba0f94189f9e173f83c116645a37bc /models/fixtures/repo_unit.yml | |
parent | 8553b4600e3035b6f6ad6907c37cebd013fa4d64 (diff) | |
download | gitea-fe6792dff3d167e87b0c4476f7e7a7ce15742855.tar.gz gitea-fe6792dff3d167e87b0c4476f7e7a7ce15742855.zip |
Enable/disable owner and repo projects independently (#28805)
Part of #23318
Add menu in repo settings to allow for repo admin to decide not just if
projects are enabled or disabled per repo, but also which kind of
projects (repo-level/owner-level) are enabled. If repo projects
disabled, don't show the projects tab.
![grafik](https://github.com/go-gitea/gitea/assets/47871822/b9b43fb4-824b-47f9-b8e2-12004313647c)
---------
Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'models/fixtures/repo_unit.yml')
-rw-r--r-- | models/fixtures/repo_unit.yml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/models/fixtures/repo_unit.yml b/models/fixtures/repo_unit.yml index 4b26674990..6714294e2b 100644 --- a/models/fixtures/repo_unit.yml +++ b/models/fixtures/repo_unit.yml @@ -520,6 +520,7 @@ id: 75 repo_id: 1 type: 8 + config: "{\"ProjectsMode\":\"all\"}" created_unix: 946684810 - @@ -651,12 +652,6 @@ created_unix: 946684810 - - id: 98 - repo_id: 1 - type: 8 - created_unix: 946684810 - -- id: 99 repo_id: 1 type: 9 |