1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-27 09:11:53 -05:00
forgejo/routers/web/org
yp05327 df9a62b5f9
Fix 404 error when leaving the last private org team (#24322)
If the user only belongs to one org team and the org is private, 
leaving the org team will redirect to `ctx.Org.OrgLink + "/teams/"`
which is inaccessible.

So we need to check whether the user still belongs to the org.
2023-04-26 12:27:46 -04:00
..
home.go Fix unclear "Owner" concept (#24233) 2023-04-20 19:33:30 +02:00
main_test.go Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
members.go Add missing badges in user profile for /projects and /packages (#24232) 2023-04-22 21:32:40 -04:00
org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org_labels.go Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
org_runners.go Implement actions (#21937) 2023-01-31 09:45:19 +08:00
projects.go Add unset default project column (#23531) 2023-04-19 10:28:28 -04:00
projects_test.go Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
setting.go Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
setting_oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_packages.go Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
setting_secrets.go Only delete secrets belonging to its owner (#24284) 2023-04-23 21:35:14 +08:00
teams.go Fix 404 error when leaving the last private org team (#24322) 2023-04-26 12:27:46 -04:00