mirror of
https://github.com/go-gitea/gitea
synced 2025-01-11 02:04:27 +00:00
b33cf4fabc
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.