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/tests
KN4CK3R 321383db22
Revert package access change from #23879 (#25707)
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: Giteabot <teabot@gitea.io>
2 years ago
..
e2e Refactor web package and context package (#25298) 2 years ago
fuzz Move fuzz tests into tests/fuzz (#22376) 2 years ago
gitea-lfs-meta Test views of LFS files (#22196) 2 years ago
gitea-repositories-meta Fix bug of branches API with tests (#25578) 2 years ago
integration Revert package access change from #23879 (#25707) 2 years ago
mssql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
mysql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
mysql8.ini.tmpl Implement actions artifacts (#22738) 2 years ago
pgsql.ini.tmpl Implement actions artifacts (#22738) 2 years ago
sqlite.ini.tmpl Implement actions artifacts (#22738) 2 years ago
test_utils.go Replace `interface{}` with `any` (#25686) 2 years ago