summaryrefslogtreecommitdiffstats
path: root/models/fixtures/team_unit.yml
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2023-07-29 16:13:24 +0200
committerGitHub <noreply@github.com>2023-07-29 16:13:24 +0200
commitb33cf4fabcdedff126b173d81c8a5609202b39ff (patch)
tree9bcca2ff15435b15232d197cea045a78ace040c6 /models/fixtures/team_unit.yml
parentFixed incorrect locale references (#26218) (diff)
downloadforgejo-b33cf4fabcdedff126b173d81c8a5609202b39ff.tar.xz
forgejo-b33cf4fabcdedff126b173d81c8a5609202b39ff.zip
Fix access check for org-level project (#26182)
Fix #25934 Add `ignoreGlobal` parameter to `reqUnitAccess` and only check global disabled units when `ignoreGlobal` is true. So the org-level projects and user-level projects won't be affected by global disabled `repo.projects` unit.
Diffstat (limited to 'models/fixtures/team_unit.yml')
-rw-r--r--models/fixtures/team_unit.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/models/fixtures/team_unit.yml b/models/fixtures/team_unit.yml
index 5d2ba2fb6c..c5531aa57a 100644
--- a/models/fixtures/team_unit.yml
+++ b/models/fixtures/team_unit.yml
@@ -280,3 +280,9 @@
team_id: 20
type: 9 # package
access_mode: 2
+
+-
+ id: 48
+ team_id: 2
+ type: 8
+ access_mode: 2