1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
forgejo/routers
Giteabot 5afb0294f4
Fix access check for org-level project (#26182) (#26223)
Backport #26182 by @Zettat123

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.

Co-authored-by: Zettat123 <zettat123@gmail.com>
(cherry picked from commit 3a29712e0a)
2023-07-30 07:46:19 +02:00
..
api Fix handling of plenty Nuget package versions (#26075) (#26173) 2023-07-30 07:46:18 +02:00
common [BRANDING] Use forgejo binary name 2023-07-17 00:25:56 +02:00
install [BRANDING] Rebrand default config settings for new installs (#140) 2023-07-17 00:25:55 +02:00
private [CLI] implement forgejo-cli actions register (squash) no private 2023-07-16 23:21:45 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix access check for org-level project (#26182) (#26223) 2023-07-30 07:46:19 +02:00
init.go [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00