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

Revert package access change from #23879 (#25707) #25785

Merged
merged 2 commits into from
Jul 9, 2023

Commits on Jul 9, 2023

  1. Revert package access change from go-gitea#23879 (go-gitea#25707)

    Fixes (?) go-gitea#25538
    Fixes https://codeberg.org/forgejo/forgejo/issues/972
    
    Regression go-gitea#23879
    
    go-gitea#23879 introduced a change which prevents read access to packages if a
    user is not a member of an organization.
    
    That PR also contained a change which disallows package access if the
    team unit is configured with "no access" for packages. I don't think
    this change makes sense (at the moment). It may be relevant for private
    orgs. But for public or limited orgs that's useless because an
    unauthorized user would have more access rights than the team member.
    This PR restores the old behaviour "If a user has read access for an
    owner, they can read packages".
    
    ---------
    
    Co-authored-by: Giteabot <[email protected]>
    KN4CK3R and GiteaBot committed Jul 9, 2023
    Configuration menu
    Copy the full SHA
    c7519aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    206bccd View commit details
    Browse the repository at this point in the history