mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-14 11:48:09 -05:00
321383db22
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>
125 lines
986 B
YAML
125 lines
986 B
YAML
-
|
|
id: 1
|
|
org_id: 3
|
|
team_id: 1
|
|
uid: 2
|
|
|
|
-
|
|
id: 2
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 2
|
|
|
|
-
|
|
id: 3
|
|
org_id: 3
|
|
team_id: 2
|
|
uid: 4
|
|
|
|
-
|
|
id: 4
|
|
org_id: 6
|
|
team_id: 3
|
|
uid: 5
|
|
|
|
-
|
|
id: 5
|
|
org_id: 7
|
|
team_id: 4
|
|
uid: 5
|
|
|
|
-
|
|
id: 6
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 15
|
|
|
|
-
|
|
id: 7
|
|
org_id: 17
|
|
team_id: 5
|
|
uid: 18
|
|
|
|
-
|
|
id: 8
|
|
org_id: 19
|
|
team_id: 6
|
|
uid: 20
|
|
|
|
-
|
|
id: 9
|
|
org_id: 3
|
|
team_id: 7
|
|
uid: 15
|
|
|
|
-
|
|
id: 10
|
|
org_id: 17
|
|
team_id: 8
|
|
uid: 2
|
|
|
|
-
|
|
id: 11
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 20
|
|
|
|
-
|
|
id: 12
|
|
org_id: 25
|
|
team_id: 10
|
|
uid: 24
|
|
|
|
-
|
|
id: 13
|
|
org_id: 3
|
|
team_id: 12
|
|
uid: 28
|
|
|
|
-
|
|
id: 14
|
|
org_id: 6
|
|
team_id: 13
|
|
uid: 28
|
|
|
|
-
|
|
id: 15
|
|
org_id: 17
|
|
team_id: 9
|
|
uid: 29
|
|
|
|
-
|
|
id: 16
|
|
org_id: 19
|
|
team_id: 6
|
|
uid: 31
|
|
|
|
-
|
|
id: 17
|
|
org_id: 3
|
|
team_id: 14
|
|
uid: 2
|
|
|
|
-
|
|
id: 18
|
|
org_id: 23
|
|
team_id: 17
|
|
uid: 5
|
|
|
|
-
|
|
id: 19
|
|
org_id: 35
|
|
team_id: 18
|
|
uid: 1
|
|
|
|
-
|
|
id: 20
|
|
org_id: 36
|
|
team_id: 19
|
|
uid: 1
|
|
|
|
-
|
|
id: 21
|
|
org_id: 36
|
|
team_id: 20
|
|
uid: 5
|