0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 15:23:14 -05:00
forgejo/routers/web/org
Gusted fe35a17dbe [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

(cherry picked from commit 9de9034400)
2024-10-14 19:59:17 +00:00
..
setting Show repo count in blocked users tab (#3601) 2024-05-02 15:51:27 +00:00
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 feat(i18n): allow different translations of creation links and titles (#4829) 2024-08-07 16:54:05 +00:00
org_labels.go
projects.go Add missed return after ctx.ServerError (#31130) 2024-06-02 16:26:54 +02:00
projects_test.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
setting.go
setting_oauth2.go
setting_packages.go
teams.go [BUG] Don't allow owner team with incorrect unit access 2024-10-14 19:59:17 +00:00