1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-18 17:05:16 +01:00
gitea/models/fixtures/org_user.yml
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>
2023-07-09 13:00:07 +00:00

102 lines
880 B
YAML

-
id: 1
uid: 2
org_id: 3
is_public: true
-
id: 2
uid: 4
org_id: 3
is_public: false
-
id: 3
uid: 5
org_id: 6
is_public: true
-
id: 4
uid: 5
org_id: 7
is_public: false
-
id: 5
uid: 15
org_id: 17
is_public: true
-
id: 6
uid: 18
org_id: 17
is_public: false
-
id: 7
uid: 20
org_id: 19
is_public: true
-
id: 8
uid: 24
org_id: 25
is_public: true
-
id: 9
uid: 28
org_id: 3
is_public: true
-
id: 10
uid: 28
org_id: 6
is_public: true
-
id: 11
uid: 29
org_id: 17
is_public: true
-
id: 12
uid: 2
org_id: 17
is_public: true
-
id: 13
uid: 31
org_id: 19
is_public: true
-
id: 14
uid: 5
org_id: 23
is_public: false
-
id: 15
uid: 1
org_id: 35
is_public: true
-
id: 16
uid: 1
org_id: 36
is_public: true
-
id: 17
uid: 5
org_id: 36
is_public: true