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
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
..
actions Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
activitypub Add Chef package registry (#22554) 2 years ago
analyze Implement FSFE REUSE for golang files (#21840) 2 years ago
assetfs Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
auth Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2 years ago
base Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
cache Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
charset Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
container Implement FSFE REUSE for golang files (#21840) 2 years ago
context Revert package access change from #23879 (#25707) (#25785) 2 years ago
csv Refactor locale number (#24134) 2 years ago
doctor Refactor path & config system (#25330) (#25416) 2 years ago
emoji Fix unstable emoji sort (#22346) 2 years ago
eventsource Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
generate Implement FSFE REUSE for golang files (#21840) 2 years ago
git Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
gitgraph Add context cache as a request level cache (#22294) 2 years ago
graceful Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
hcaptcha Consume hcaptcha and pwn deps (#22610) 2 years ago
highlight test_env: hardcode major go version in use (#23464) 2 years ago
hostmatcher Implement FSFE REUSE for golang files (#21840) 2 years ago
html Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
httpcache Use standard HTTP library to serve files (#24693) 2 years ago
httplib Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
indexer Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
issue/template Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
json Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Rewrite logger system (#24726) 2 years ago
log Fix sub-command log level (#25537) (#25553) 2 years ago
markup Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
mcaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
metrics Use a separate admin page to show global stats, remove `actions` stat (#25062) 2 years ago
migration Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
mirror Improve queue and logger context (#24924) 2 years ago
nosql Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
notification Add Adopt repository event and handler (#25497) (#25518) 2 years ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
paginator Use more specific test methods (#24265) 2 years ago
pprof Implement FSFE REUSE for golang files (#21840) 2 years ago
private Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
process Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol Implement FSFE REUSE for golang files (#21840) 2 years ago
public Use standard HTTP library to serve files (#24693) 2 years ago
queue Help to recover from corrupted levelqueue (#24912) 2 years ago
recaptcha Implement FSFE REUSE for golang files (#21840) 2 years ago
references Use correct captured group range when parsing cross-reference (#22672) 2 years ago
regexplru Implement FSFE REUSE for golang files (#21840) 2 years ago
repository Remove stars when repo goes private (#19904) 2 years ago
secret Improve decryption failure message (#24573) 2 years ago
session Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
setting Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
sitemap Fix sitemap (#22272) 2 years ago
ssh Fix incorrect config argument position for builtin SSH server (#25341) 2 years ago
storage Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
structs Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
svg Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
sync Implement FSFE REUSE for golang files (#21840) 2 years ago
system Implement FSFE REUSE for golang files (#21840) 2 years ago
templates Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
test Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
testlogger Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2 years ago
translation Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
turnstile Add new captcha: cloudflare turnstile (#22369) 2 years ago
typesniffer Do not recognize text files as audio (#23355) 2 years ago
updatechecker Implement FSFE REUSE for golang files (#21840) 2 years ago
upload Implement FSFE REUSE for golang files (#21840) 2 years ago
uri Implement FSFE REUSE for golang files (#21840) 2 years ago
user Implement FSFE REUSE for golang files (#21840) 2 years ago
util Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
validation Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
web Replace `interface{}` with `any` (#25686) (#25687) 2 years ago
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2 years ago