1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/routers
Zettat123 b33cf4fabc
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.
2023-07-29 14:13:24 +00:00
..
api Fix handling of plenty Nuget package versions (#26075) 2023-07-26 19:43:21 +00:00
common Less naked returns (#25713) 2023-07-07 05:31:56 +00:00
install Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2023-07-21 12:14:20 +00:00
private Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +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) 2023-07-29 14:13:24 +00:00
init.go Refactor path & config system (#25330) 2023-06-21 13:50:26 +08:00