gitea/models/organization
wxiaoguang 3917d27467
Make restricted users can access public repositories (#35693)
Fix #35690

Change the "restricted user" behavior introduced by #6274. Now
restricted user can also access public repositories when sign-in is not
required.

For required sign-in, the behavior isn't changed.
2025-10-21 15:30:24 +08:00
..
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
org_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org_list.go Refactor db package (#35380) 2025-08-30 01:04:06 +08:00
org_test.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
org_user_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org_user.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00
org_worktime.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
org.go Make restricted users can access public repositories (#35693) 2025-10-21 15:30:24 +08:00
team_invite_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_invite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
team_list_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_list.go Small refactor to reduce unnecessary database queries and remove duplicated functions (#33779) 2025-03-04 18:25:20 +00:00
team_repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_repo.go Fix team permissions (#34827) 2025-06-24 21:24:09 +08:00
team_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
team_unit.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
team_user.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
team.go Fix team permission (#34128) 2025-04-08 04:15:15 +00:00