mirror of
https://gitee.com/gitea/gitea
synced 2025-12-20 15:36:37 +08:00
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.
1.8 KiB
1.8 KiB