Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix access check for org-level project (#26182) #26223

Merged
merged 2 commits into from
Jul 29, 2023

Commits on Jul 29, 2023

  1. Fix access check for org-level project (go-gitea#26182)

    Fix go-gitea#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.
    Zettat123 authored and GiteaBot committed Jul 29, 2023
    Configuration menu
    Copy the full SHA
    bb82a31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ee77aa View commit details
    Browse the repository at this point in the history