You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/modules/context
Giteabot 372b622c2b
Revert package access change from #23879 (#25707) (#25785)
Backport #25707 by @KN4CK3R

Fixes (?) #25538
Fixes https://codeberg.org/forgejo/forgejo/issues/972

Regression #23879

#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: KN4CK3R <admin@oldschoolhack.me>
2 years ago
..
access_log.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
api.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
captcha.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
context.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_model.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_request.go Decouple the different contexts from each other (#24786) 2 years ago
context_response.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
context_test.go Use standard HTTP library to serve files (#24693) 2 years ago
csrf.go Refactor cookie (#24107) 2 years ago
org.go Decouple the different contexts from each other (#24786) 2 years ago
package.go Revert package access change from #23879 (#25707) (#25785) 2 years ago
pagination.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
permission.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
private.go Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
repo.go Decouple the different contexts from each other (#24786) 2 years ago
response.go Fix regression: access log template, gitea manager cli command (#24838) 2 years ago
utils.go Decouple the different contexts from each other (#24786) 2 years ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago