mirror of
1
Fork 0
forgejo/tests
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
..
e2e Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
fuzz Move fuzz tests into tests/fuzz (#22376) 2023-01-09 15:30:14 +08:00
gitea-lfs-meta Test views of LFS files (#22196) 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Add commits dropdown in PR files view and allow commit by commit review (#25528) 2023-07-28 21:18:12 +02:00
integration Fix access check for org-level project (#26182) 2023-07-29 14:13:24 +00:00
mssql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
mysql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
mysql8.ini.tmpl Implement actions artifacts (#22738) 2023-05-19 21:37:57 +08:00
pgsql.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
sqlite.ini.tmpl Update email-setup.en-us.md (#26068) 2023-07-26 21:50:15 +08:00
test_utils.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00