forgejo/routers/web/org
Gusted 9de9034400
[BUG] Don't allow owner team with incorrect unit access
- On editting a team, only update the units if the team isn't the
'Owners' team. Otherwise the 'Owners' team end up having all of their
unit access modes set to 'None'; because the request form doesn't send
over any units, as it's simply not shown in the UI.
- Adds a database inconstency check and fix for the case where the
'Owners' team is affected by this bug.
- Adds unit test.
- Adds integration test.
- Resolves #5528
- Regression of https://github.com/go-gitea/gitea/pull/24012
2024-10-11 14:48:47 +02:00
..
setting
home.go Fix sort order for organization home and user profile page (#31921) 2024-09-09 20:54:39 +02:00
main_test.go
members.go
org.go
org_labels.go
projects.go
projects_test.go
setting.go
setting_oauth2.go
setting_packages.go
teams.go [BUG] Don't allow owner team with incorrect unit access 2024-10-11 14:48:47 +02:00