forgejo/models/fixtures
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>
2023-07-09 21:00:42 +00:00
..
access.yml
access_token.yml
action.yml
action_run.yml
action_run_job.yml
action_task.yml
attachment.yml
collaboration.yml
comment.yml
commit_status.yml
commit_status_index.yml
deleted_branch.yml
deploy_key.yml
email_address.yml
external_login_user.yml
follow.yml
gpg_key.yml
gpg_key_import.yml
hook_task.yml
issue.yml
issue_assignees.yml
issue_index.yml
issue_label.yml
issue_user.yml
issue_watch.yml
label.yml
lfs_meta_object.yml
login_source.yml
milestone.yml
mirror.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
notice.yml
notification.yml
oauth2_application.yml
oauth2_authorization_code.yml
oauth2_grant.yml
org_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
project.yml
project_board.yml
project_issue.yml
protected_branch.yml
public_key.yml
pull_request.yml
reaction.yml
release.yml
renamed_branch.yml
repo_archiver.yml
repo_indexer_status.yml
repo_redirect.yml
repo_topic.yml
repo_transfer.yml
repo_unit.yml
repository.yml Fix bug of branches API with tests(#25578) (#25579) 2023-07-03 16:17:30 +02:00
review.yml
star.yml
stopwatch.yml
system_setting.yml
team.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
team_repo.yml
team_unit.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
team_user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
topic.yml
tracked_time.yml
two_factor.yml
user.yml Revert package access change from #23879 (#25707) (#25785) 2023-07-09 21:00:42 +00:00
user_open_id.yml
user_redirect.yml
watch.yml
webauthn_credential.yml
webhook.yml