Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-01 06:16:09 +01:00
forgejo/routers
Giteabot 3a29712e0a
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>
2023-07-29 18:50:58 +00:00
..
api Fix handling of plenty Nuget package versions (#26075) (#26173) 2023-07-26 21:41:40 +00:00
common Fix admin config page error, use tests to cover the admin config and 500 error page (#24965) 2023-05-29 15:00:21 +00:00
install Show correct SSL Mode on "install page" (#25818) (#25838) 2023-07-12 02:01:38 -04:00
private parseScope with owner/repo always sets owner to zero (#25987) (#25989) 2023-07-19 22:57:17 +08: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-29 18:50:58 +00:00
init.go Refactor path & config system (#25330) (#25416) 2023-06-22 16:27:18 +00:00